
command to enable any such extension to provide the configurations for IntelliSense.Ī third option for projects without build system extension support is to use a compile_commands.json file if your build system supports generating this file.

Use the C/C++: Change Configuration Provider. For example, the CMake Tools extension can configure projects that use the CMake build system. Or, if you install a build system extension that interfaces with our extension, you can allow that extension to provide the configurations for you. In that view, you can change the compiler you want to emulate, the paths to include files you want to use, preprocessor definitions, and more. If this automatic configuration is insufficient, you can modify the defaults by running the C/C++: Edit Configurations (UI) command. (for example cl.exe/WSL/MinGW for Windows, gcc/clang for macOS/Linux). Without any configuration, the extension will attempt to locate headers by searching your workspace folder and by emulating a compiler it finds on your computer. How do I get IntelliSense to work correctly? Reduce the folders in the workspace to one and remove the symlink.


How do I get the new IntelliSense to work with MinGW on Windows?.Why do I see red squiggles under Standard Library types?.How do I get IntelliSense to work correctly?.

