Created
March 9, 2021 18:11
-
-
Save GavinRay97/1fcadf8c0eb98780100e69c68aa01484 to your computer and use it in GitHub Desktop.
VS Code official C/C++ Extension combined with clangd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// From: https://stackoverflow.com/a/59820115 | |
{ | |
"C_Cpp.intelliSenseEngine": "Disabled", | |
"C_Cpp.autocomplete": "Disabled", // So you don't get autocomplete from both extensions. | |
"C_Cpp.errorSquiggles": "Disabled", // So you don't get error squiggles from both extensions (clangd's seem to be more reliable anyway). | |
"clangd.path": "/path/to/your/clangd", | |
"clangd.arguments": ["-log=verbose", "-pretty", "--background-index", "--compile-commands-dir=/path/to/your/compile_commands_dir/"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment