Set up clangd for intellisense. Whoof, that was difficult.

This commit is contained in:
2025-06-09 15:38:14 -04:00
parent 61209d4c2f
commit 4a2574ddab
5 changed files with 58 additions and 15 deletions

View File

@@ -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 @@
}
}
}
}
}