How to correctly set c_cpp_properties.json of VS Code on Windows.
See link here: Official Reference.
Below is my personal working example, which does the compiling job as well as removes annoying wavy underlines.
How to correctly set c_cpp_properties.json of VS Code on Windows.
See link here: Official Reference.
Below is my personal working example, which does the compiling job as well as removes annoying wavy underlines.
| { | |
| "configurations": [ | |
| { | |
| "name": "MinGW", | |
| "intelliSenseMode": "clang-x64", | |
| "compilerPath": "E:/LLVM/bin/gcc.exe", | |
| "includePath": [ | |
| "${workspaceFolder}" | |
| ], | |
| "defines": [ | |
| "_DEBUG" | |
| ], | |
| "browse": { | |
| "path": [ | |
| "E:/LLVM/lib/gcc/x86_64-w64-mingw32/7.2.0/include", | |
| "E:/LLVM/lib/gcc/x86_64-w64-mingw32/7.2.0/include-fixed", | |
| "E:/LLVM/include/*", | |
| "${workspaceFolder}" | |
| ], | |
| "limitSymbolsToIncludedHeaders": true, | |
| "databaseFilename": "" | |
| }, | |
| "cStandard": "c11", | |
| "cppStandard": "c++17" | |
| } | |
| ], | |
| "version": 3 | |
| } |