vscode: Copy the compile_commands.json from build to source dir
No longer needed to symlink it to make clangd work
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
"C_Cpp.default.cStandard": "c17",
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"editor.formatOnType": true,
|
||||
"C_Cpp.autocompleteAddParentheses": true
|
||||
"C_Cpp.autocompleteAddParentheses": true,
|
||||
"cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json"
|
||||
},
|
||||
"launch": {
|
||||
"version": "0.2.0",
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"C_Cpp.default.cStandard": "c17",
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"editor.formatOnType": true,
|
||||
"C_Cpp.autocompleteAddParentheses": true
|
||||
"C_Cpp.autocompleteAddParentheses": true,
|
||||
"cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json"
|
||||
},
|
||||
"launch": {
|
||||
"version": "0.2.0",
|
||||
|
||||
@@ -9,7 +9,8 @@
|
||||
"C_Cpp.default.cStandard": "c17",
|
||||
"files.trimTrailingWhitespace": true,
|
||||
"editor.formatOnType": true,
|
||||
"C_Cpp.autocompleteAddParentheses": true
|
||||
"C_Cpp.autocompleteAddParentheses": true,
|
||||
"cmake.copyCompileCommands": "${workspaceFolder}/compile_commands.json"
|
||||
},
|
||||
"launch": {
|
||||
"version": "0.2.0",
|
||||
|
||||
Reference in New Issue
Block a user