1.24.5
Instructions
The extension can be obtained by one of the methods below:
- Install the "C/C++" or "C/C++ Extension Pack" extension published by Microsoft from the Extensions view in VS Code.
- Download a vsix that matches your OS from the Assets section below (and install it via the method mentioned above). The previous download methods have the vsix signatures verified by the Marketplace, but for this method, you can do the verification by downloading the matching manifest and signature.p7s file and running
npx @vscode/vsce@latest verify-signature -i <.vsix> -m <.signature.manifest> -s <.signature.p7s>
vscode-vsce#1044.
Requirements
- VS Code 1.67.0 or later (April 2022).
- Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).
- Debugging is not supported on CentOS 7 or RHEL 7. The last supported version was 1.22.11: #13219.
Changes
New Feature
- Add support for Copilot descriptions in hover tooltips, controlled by the
C_Cpp.copilotHover
setting. PR #13385
Enhancements
- Improve/fix the switch header/source feature. #2635
- Add detected test frameworks to the Copilot context when
#cpp
is used. PR #13285 - Update clang-tidy and clang-format from 19.1.7 to 20.1.2. PR #13348
- Remove some unnecessary files from the vsix. PR #13368
- Improve the logging when a non-existent path is used for indexing. PR #13372
- Add a new
recursiveIncludes
property toc_cpp_properties.json
. PR #13374 - Remove the
C_Cpp.updateChannel
setting. PR #13376 - Add handling of
-cxx-isystem
,-stblib++-isystem
,-isystem-after
, and--include-barrier
Clang compiler arguments when composing the order of include paths used by IntelliSense. - Defer the building of the include completion cache to another thread to improve performance when a file is opened.
- On shutdown, immediately terminate the IntelliSense process instead of waiting 2 seconds.
Bug Fixes
- Fix an IntelliSense crash in
build_sections
. #12666, #12956 - Fix random IntelliSense process crashes on Linux/macOS when
C_Cpp.intelliSenseCacheSize
is > 0. #12668 - Fix a bug in which hundreds of custom configuration requests could be sent on startup before the configuration provider has registered. #13166
- Fix handling of the
-framework
compiler argument. #13204 - Fix a potential race between didChange and didOpen. PR #13209
- Fix an issue with the
.editorconfig
tab_size
. PR #13216 - Fix a potential deadlock on shutdown if configuration providers are used. #13218
- Fix the code analysis mode in the Language Status bar not updating after the setting changes. #13240
- Fix system include/framework paths being used as a fallback for user include/framework paths in the base configuration. PR #13247
- Fix the
svdPath
description being missing forlaunch.json
. #13287 - Update the Windows SDK packages referenced in the walkthrough. #13290
- Fix an issue with
C:
being treated as a relative path. PR #13297 - Fix an unnecessary TU reset when a change is detected in a
compile_commands.json
file that is not used by the active configuration. #13317 - Fix handling of URIs in web environments. #13327
- Fix a potential deadlock after using 'Reset IntelliSense Database'. #13337
- Fix some localization bugs. PR #13373
- Fix IntelliSense showing the wrong size of objects. #13375
- Fix the
get_mangled_function_name
IntelliSense process crash. #13358 - Fix an issue with duplicate forced includes being removed. Multiple forced includes of the same file should now properly be included multiple times.
- Fix an issue in which the base configuration browse paths may not get populated when using a custom configuration provider.
- Fix an issue with forced includes not being resolved against the same include path search order as a compiler would.
- Fix a
${workspaceFolder}/*
include path not being used as a non-recursive browse path. - Fix an issue with include path ordering of paths specified with the
-imsvc
argument. - Fix a race condition that could result in incorrect include completion results.
- Avoid reporting an error due to multiple
didOpen
requests after a crash. - Fix an inaccurate cursor position for IntelliSense update.
- Fix an IntelliSense crash if a "bad seq number" occurs.
- Fix processes potentially getting stuck on shutdown.
- Fix a potential crash when saving a file.
- Fix a random crash during code analysis.