diff options
author | ConfuSomu | 2021-02-20 13:09:08 -0500 |
---|---|---|
committer | ConfuSomu | 2021-02-20 13:09:08 -0500 |
commit | 5686f56e4fad9130ca8f46f3aa3ff36bc41dbeb1 (patch) | |
tree | 2773843d157590b9fa8f54158713220477a350d4 | |
parent | 2a301497b3b4bb3641c70840a784164b54b9e785 (diff) | |
download | pico-watch-5686f56e4fad9130ca8f46f3aa3ff36bc41dbeb1.tar pico-watch-5686f56e4fad9130ca8f46f3aa3ff36bc41dbeb1.tar.gz pico-watch-5686f56e4fad9130ca8f46f3aa3ff36bc41dbeb1.zip |
Disable VSCode C/C++ error underlines
It is generally misleading as header files are marked as unresolvable
when it is not the case. I also tried to fix the problem by adjusting
where libraries are searched by Intellisense.
-rw-r--r-- | .vscode/c_cpp_properties.json | 2 | ||||
-rw-r--r-- | .vscode/settings.json | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json index bec5635..ee419f2 100644 --- a/.vscode/c_cpp_properties.json +++ b/.vscode/c_cpp_properties.json @@ -4,7 +4,7 @@ "name": "Linux", "includePath": [ "${workspaceFolder}/**", - "~/pico/pico-sdk/**", + "/home/pi/pico/pico-sdk/**", "/home/pi/pico/pico-sdk/src/common/pico_stdlib/include" ], "defines": [], diff --git a/.vscode/settings.json b/.vscode/settings.json index ff89d56..4cbb933 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -18,5 +18,6 @@ }, "cmake.buildBeforeRun": true, // This may need to be arm-none-eabi-gdb depending on your system - "cortex-debug.gdbPath": "gdb-multiarch" + "cortex-debug.gdbPath": "gdb-multiarch", + "C_Cpp.errorSquiggles": "Disabled" }
\ No newline at end of file |