VS Code Clangd Setup¶
Fucking finally! A process that is repeatable to setup vscode with clangd!
- Install GCC via MSYS2. You'll need to add it to path:
C:\msys64\ucrt64\bin - It's pretty much works out of the box with VScode. You'll just need to click on the
Runbutton and select theG++compiler option - Install the Clangd extension fully. Let it disable intellisense
- Navigate to
C:\Users\<username_here>\AppData\Localand create a folderclangdand cd into it - Inside create a file called
config.yamland pop in the following contents: - Restart language server and voila!!! Hells yeah!