1.34.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.77.0 or later (March 2023).
- Windows 10+ (x64, arm64), macOS 10.13+, Linux (Ubuntu 16+, etc.).
- Debugging is not supported on CentOS 7 or RHEL 7. The last supported version was 1.22.11: #13219.
- The last supported version for Windows 7 and 8 was 1.30.5.
Changes
Enhancements
- Add folding support for C++
public,private, andprotectedaccess sections. #14645- Thanks for the contribution. @8prashant (Prashant Kumar Rai) PR #14675
- Improve workspace indexing performance and reduce memory usage by deduplicating browse paths from
compile_commands.json, excluding unrelated files from the browse database, and avoiding unnecessary tag parsing of non-included extensionless files. #14693 - Reduce language server memory usage and RPC overhead for large messages and browse database snapshots.
- Add IntelliSense support for C23
_BitInt, C++26 pack indexing, and C++26 structured binding packs.
Bug Fixes
- Fix inactive code being dimmed from the wrong column when a preprocessor directive is preceded by a comment. #12882
- Thanks for the contribution. @8prashant (Prashant Kumar Rai) PR #14666
- Fix enum member completion in a
switchlabel before the trailing:. #14605 - Fix extension crashes caused by events communicating with the language client before it is ready. PR #14617
- Fix configuration path diagnostics for paths containing regular expression metacharacters and for incorrect source ranges. PR #14674, PR #14679
- Prevent browse database crashes on filesystems that do not support SQLite WAL shared memory, and warn when no compatible database location is available. PR #14683
- Fix runaway CPU and memory usage caused by cyclic document symbol data, and prevent
cpptoolsfrom remaining active after VS Code exits. #14689 - Fix several language server crashes during startup, shutdown, diagnostic processing, and concurrent code model updates.
- Fix various IntelliSense completion, navigation, false error, code analysis, formatting, and colorization issues.
- Fix a potential language server deadlock caused by inconsistent lock ordering.
- Harden temporary file storage on Linux and macOS.
- Various localization updates.
- Update dependencies.