1.29.0
Pre-release
Pre-release
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
Enhancements
- Add built-in file associations for C++ extensionless system headers and set
C_Cpp.autoAddFileAssociationstofalseby default. #4077 - Enable setting the VS developer environment without running VS Code from the developer command prompt. #4742
- Add IntelliSense support for
c23enums with an underlying type. #13675
Bug Fixes
- Fix 'Find All References' and 'Rename' on
#definemacro definitions. #6194 - Fix anonymous enums not working in gcc/clang modes. #10436
- Fix Doxygen comments at the end of a function. #13725
- Fix mac framework search path detection to include paths passed in the
includePathfrom a configuration provider. #13993 - Fix formatting with
clang-tidyrandomly getting stuck on Windows (on a call toGetOverlappedResult). #14025 - Fix code analysis re-running automatically after a settings change when diagnostics already exist if it was manually instead of automatically invoked.
- Reduce the memory usage in a couple cases to reduce the chance of a
bad_allocin cpptools. - Update
clang-formatandclang-tidyfrom 21.1.3 to 21.1.4 (fixes some formatting bugs). - Fix a case where a large file could cause a
bad_allocin cpptools-srv on Windows. - Update the default compiler search to include newer versions of clang/gcc.
- Fix a crash in
detect_encoding.