Repository navigation
1.35.4
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
New Features
- Add the opt-in
C_Cpp.hoverShowIntegralValuesInHexadecimalsetting to display integral constants in hexadecimal in IntelliSense hovers. #7281 - Add the opt-in
C_Cpp.codeAnalysis.clangTidy.includeCleanerMappingssetting to mapmisc-include-cleanersymbols to public headers. PR #14788 - Dim unused
#includedirectives wheneditor.showUnusedis enabled, respecting per-file Include Cleanup preferences from.editorconfigfiles. PR #14808
Enhancements
- Add the
C_Cpp.hoverShowTypeSizeAndAlignmentsetting and 'Toggle Type Size and Alignment in Hovers' command to hide or show type size and alignment in IntelliSense hovers. #14820 - Improve IntelliSense responsiveness in multi-root workspaces that use independent
compile_commands.jsondatabases. - Improve processing performance for long multiline documentation comments.
Bug Fixes
- Fix incorrect IntelliSense constructibility results and diagnostics for inherited constructors with unusable base constructors or destructors and abstract classes with virtual bases.
- Fix IntelliSense crashes involving precompiled headers,
constexprevaluation, C++20requiresexpressions, SFINAE, and incomplete nested class declarations. - Fix false IntelliSense errors for nested C++20
requiresexpressions and fold-expression constraints in MSVC module templates. - Fix stale IntelliSense diagnostics and inconsistent document snapshots during concurrent edits and requests.
- Fix tag parsing of user-defined literal operator suffixes when macro expansion is involved.
- Fix completion for declarations imported from standard-library modules when using MSVC.
- Fix 'Create Declaration/Definition' matching for functions in the global namespace.
- Fix IntelliSense lookup for scoped enumerations defined inside class templates.
- Fix inconsistent fuzzy completion matching caused by reused candidate buffers.
- Fix IntelliSense language-standard detection for MSVC
/std:c++23. - Fix a potential data race in include-path resolution.
- Various localization updates.
- Update dependencies.