Set up clangd for intellisense. Whoof, that was difficult.
This commit is contained in:
@@ -36,10 +36,18 @@
|
||||
"**/x86_64-linux-gnu/**": "cpp",
|
||||
"*.ipp": "cpp",
|
||||
"*.inc": "cpp"
|
||||
}
|
||||
},
|
||||
"C_Cpp.intelliSenseEngine": "disabled",
|
||||
"clangd.path": "/usr/bin/clangd-15",
|
||||
"clangd.arguments": [
|
||||
"--compile-commands-dir=[INTEGRATION]/.vscode",
|
||||
"--header-insertion=never"
|
||||
],
|
||||
"C_Cpp.autocomplete": "Disabled"
|
||||
},
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"llvm-vs-code-extensions.vscode-clangd",
|
||||
"vadimcn.vscode-lldb",
|
||||
"dfarley1.file-picker",
|
||||
"ms-python.python",
|
||||
@@ -73,6 +81,16 @@
|
||||
},
|
||||
"problemMatcher": "$msCompile",
|
||||
"type": "shell"
|
||||
},
|
||||
{
|
||||
"label": "Make Intellisense",
|
||||
"group": "build",
|
||||
"command": "make intellisense",
|
||||
"presentation": {
|
||||
"clear": true
|
||||
},
|
||||
"problemMatcher": "$msCompile",
|
||||
"type": "shell"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -103,4 +121,4 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user