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
- Improve the context provided for C++ Copilot suggestions.
Enhancements
- Add support for c++26/2c, gnu++26/2c, and c++23preview configurations. #12963, #13133
- Add more return code and error logging when compiler querying fails. #13679
- IntelliSense parser updates.
Bug Fixes
- Fix completion triggering from
.
on the last column of a multi-line comment block. #13288 - Fix an invalid IntelliSense error with C++23 escape sequences. #13338
- Fix switch header/source for CUDA files. #13575
- Fix include completion adding an extra
"
ininsert
mode. #13615 - Fix a bug with compiler querying of MinGW. #13622
- Fix
-iquote
not working after-isystem
. #13638 - Minor debugger fixes. PR #13654, PR #13671
- Fix
browse.path
merging with the configuration provider'sbrowse.path
with"mergeConfigurations": false
. #13660 - Fix doxygen comments with
[in]
,[in,out]
, etc. attributes. #13682, #13698 - Fix old
defines
accumulating afterdefines
are changed with"mergeConfigurations": true
. #13687 - Fix changes to mergeable properties in
c_cpp_properties.json
not being used until a new configuration is requested with"mergeConfigurations": true
. #13688 - Update Apple clang 16.4 to LLVM clang version mappings and fix incorrect mappings for Apple clang 14.
- Update the bundled
clang-format
andclang-tidy
from 20.1.3 to 20.1.7 (for bug fixes). - Fix an IntelliSense crash when calling
save_class_members
. - Fix a tag parser crash regression.
- Update and fix some translations.