aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@gmail.com>2023-06-08 13:27:41 +0200
committerFelix Morgner <felix.morgner@gmail.com>2023-06-08 13:27:41 +0200
commit7adcce5945e48cfcf87642d248317d54d8c1963d (patch)
tree90a2251552245cdc20ffd52bdc72288802a088c1
parentc740152b77bbbc8112528931b158d5115b695cb0 (diff)
downloadnewtype-7adcce5945e48cfcf87642d248317d54d8c1963d.tar.xz
newtype-7adcce5945e48cfcf87642d248317d54d8c1963d.zip
ide: adjust LSP configuration
-rw-r--r--.vscode/c_cpp_properties.json7
1 files changed, 4 insertions, 3 deletions
diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json
index d1852ca..eeb9f71 100644
--- a/.vscode/c_cpp_properties.json
+++ b/.vscode/c_cpp_properties.json
@@ -3,13 +3,14 @@
{
"name": "Linux",
"includePath": [
- "${workspaceFolder}/**"
+ "${workspaceFolder}/source/lib/include"
],
"defines": [],
- "compilerPath": "/usr/bin/gcc",
+ "compilerPath": "/usr/bin/g++",
"cppStandard": "c++20",
"intelliSenseMode": "gcc-x64",
- "configurationProvider": "ms-vscode.cmake-tools"
+ "configurationProvider": "ms-vscode.cmake-tools",
+ "compileCommands": "${workspaceFolder}/build/compile_commands.json"
}
],
"version": 4