

IntelliSense caching can be disabled by setting the cache size to 0. The default cache size (for all files under the C_Cpp.intelliSenseCachePath) is 5120 MB. The cached PCH files can be large, depending on the size and number of #include header files. You can also control how much disk space can be used for the cache with the “C_Cpp.intelliSenseCacheSize” setting.

You change this location via the “C_Cpp.intelliSenseCachePath” setting. IntelliSense Cache Settingsīy default, the cached PCH files are currently stored in your workspace folder’s “.vscode” folder under the subdirectory ‘ipch’. Caching of PCH files reduces the parsing time of #include header files to improve IntelliSense performance. With AuotPCH, the IntelliSense compiler will generate a separate PCH for the use of the IntelliSense compiler. But, if your header files do not change, it is not actually necessary to process the header files again. Without precompiling headers, IntelliSense needs to process the header files and source code. Precompiled headers (PCH) can be used with compilers to speed up build times by taking the #include header files in your code and compiling them for reuse later. Please note that IntelliSense caching works on Linux, macOS 10.13+ (High Sierra and later versions), and Windows. This is similar to precompiled header files in Visual Studio. The extension will now cache header information to improve IntelliSense speed. For a full list of this release’s improvements, check out our release notes on GitHub.

This release includes many new features and bug fixes, including IntelliSense caching, Build and Debug Active File, and configuration squiggles. The March 2019 update of the Visual Studio Code C/C++ extension is now available.
