Releases: microsoft/vscode-cpptools
1.24.2
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 method has 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
- Various improvements to Copilot snippets. PR #13296
- 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 building of an include completion cache to another thread, improving performance when a file is opened.
Bug Fixes
- Fix the code analysis mode in the Language Status bar not updating after the setting changes. #13240
- 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 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 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.
- Fix potential IntelliSense process crashes when processing Copilot snippets.
- Fix a crash involving iconv when converting UTF-16 or UTF-32 to UTF-8.
- Fix a potential crash when using the IntelliSense cache.
- 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.
1.24.1
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 method has 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
Bug Fixes
- Fix random IntelliSense process crashes on Linux/macOS when
C_Cpp.intelliSenseCacheSize
is > 0. #12668 - Fix a crash when processing Copilot snippets.
- Fix a crash when using Copilot hover.
1.24.0
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 method has 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 experimental support for Copilot descriptions in hover tooltips, controlled by the
C_Cpp.copilotHover
setting. This feature is currently off by default and may be subject to A/B experimentation. To opt-out of Copilot Hover experiments, setC_Cpp.copilotHover
todisabled
.
Enhancement
- Improve/fix the switch header/source feature. #2635
Bug Fixes
- Fix an IntelliSense crash in
build_sections
. #12666, #12956 - 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 system include/framework paths being used as a fallback for user include/framework paths in the base configuration. PR #13247
- Fix an inaccurate cursor position for IntelliSense update.
- Fix a random crash during code analysis.
1.23.6 (patch update)
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 method has 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
Bug Fixes
1.23.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.).
Changes
Enhancements
- Modifications to the snippet completions to more closely match the snippets provided by TypeScript. #4482
- Enable setting multiple compile commands. #7029
- Changes to how paths are internally canonicalized on Linux and macOS, avoiding file system access to improve performance and delay resolution of symbolic links. #12924
- Add handling of
-fno-char8_t
and-fchar8_t
compiler arguments. #12968 - Add support for providing well-known compiler argument information to Copilot Completions. PR #12979
- Fixed unnecessary cancellation of Copilot context requests. PR #12988
- Add support for passing an additional parameter to
C_Cpp.ConfigurationSelect
command. PR #12993- Thank you for the contribution. @adrianstephens
- Update clang path setting descriptions. PR #13071
- Update clang-format and clang-tidy from 19.1.2 to 19.1.7.
- IntelliSense parser updates.
Bug Fixes
- Fix a perf regression in hover operation by using cached lexer line states. #3126
- Fix
compile_commands.json
no longer being used if the containing folder is deleted and recreated. #7030 - Increase clang-format timeout from 10 seconds to 30 seconds. #10213
- Fix
C_Cpp.enhancedColorization
not taking effect after it's changed. #10565 - Fix changes to
files.encoding
not triggering a database reset. #10892 - Fix parameter hints interpreting
*
in a comment as markdown. #11082 - Fix an incorrect IntelliSense error when using
std::unique_ptr
. #11979 - Fix an incorrect IntelliSense error with designated initializers. #12239
- Fix handling of
koi8ru
andkoi8t
file encodings on Windows. #12272 - Fix description of
C_Cpp.preferredPathSeparator
. #12597 - Fix the IntelliSense process launching when it's disabled and the Copilot extension is used. #12750, #13058
- Fix casing of path in include completion tooltip on Windows. #12895
- Fix a performance issue where some LSP requests would delay other LSP requests. #12905
- Fix some localization issues. #12909, #13090
- Fix pattern matching of sections in
.editorConfig
files. #12933 - Fix handling of relative paths passed to cl.exe
/reference
argument. #12944 - Fix a leak of compile command file watchers. #12946
- Fix a compile commands fallback logic issue. #12947
- Fix an issue in which a
didOpen
event was processed before the language client was fully started. #12954 - Fix the IntelliSense mode being
macos
instead ofwindows
when_WIN32
is defined on macOS. #13016 - Fix IntelliSense bugs when using non-UTF8 file encodings. #13028, #13044
- Fix an incorrect translation for "binary operator". #13048
- Fix the "references may be missing" logging pane being shown when the
C_Cpp.loggingLevel
isError
orNone
. #13066 - Fix
C_Cpp.default.compilerPath
not using theC_Cpp.preferredPathSeparator
setting when generated from the 'Select IntelliSense Configuration' command. #13083 - Fix a couple bugs with
.editorConfig
handling. PR #13140 - Fix a bug when processing a file with invalid multi-byte sequences. #13150
- Fix call hierarchy calls from. #13200
- Fix IntelliSense issues related to large header files (>32K) and encodings other than UTF-8.
- Update vsdbg from 17.12.10729.1 to 17.13.20115.1.
- Other internal fixes.
- Fix some deadlocks.
- Fix some crashes.
1.23.4 (release candidate 2)
Instructions
Install it via using the Extensions view in VS Code and choosing the option "Switch to Pre-Release Version" or download a vsix that matches your OS from the "Download" dropdown in the "Version History" tab section on the Marketplace website) and then use the Extensions: Install from VSIX...
command in VS Code (don't double-click the vsix or another app like VS might try to open it incorrectly).
Requirements
- VS Code 1.67.0 or later (April 2022).
- Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).
Changes
Bug Fixes
- Fix some localization issues. #12909, #13090
- Fix a couple bugs with
.editorConfig
handling. PR #13140 - Fix a bug when processing a file with invalid multi-byte sequences. #13150
- Fix a potential telemetry issue with Copilot hover. PR #13158
- Fix a crash when Copilot hover is used on code with no definition file (e.g. literals).
- Update clang-format and clang-tidy from 19.1.6 to 19.1.7.
- Update vsdbg from 17.12.10729.1 to 17.13.20115.1.
- Fix
libiconv.dll
not being signed on Windows.
1.23.3 (release candidate)
Instructions
Install it via using the Extensions view in VS Code and choosing the option "Switch to Pre-Release Version" or download a vsix that matches your OS from the "Download" dropdown in the "Version History" tab section on the Marketplace website) and then use the Extensions: Install from VSIX...
command in VS Code (don't double-click the vsix or another app like VS might try to open it incorrectly).
Requirements
- VS Code 1.67.0 or later (April 2022).
- Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).
Changes
New Feature
Enhancements
- Modifications to the snippet completions to more closely match the snippets provided by TypeScript. #4482
- Update clang path setting descriptions. PR #13071
- Update clang-format and clang-tidy from 19.1.5 to 19.1.6.
- IntelliSense parser updates.
Bug Fixes
- Fix
compile_commands.json
no longer being used if the containing folder is deleted and recreated. #7030 - Fix
C_Cpp.enhancedColorization
not taking effect after it's changed. #10565 - Fix changes to
files.encoding
not triggering a database reset. #10892 - Fix parameter hints interpreting
*
in a comment as markdown. #11082 - Fix an incorrect IntelliSense error when using
std::unique_ptr
. #11979 - Fix an incorrect IntelliSense error with designated initializers. #12239
- Fix handling of
koi8ru
andkoi8t
file encodings on Windows. #12272 - Fix description of
C_Cpp.preferredPathSeparator
. #12597 - Fix the IntelliSense process launching when it's disabled and the Copilot extension is used. #12750, #13058
- Fix the IntelliSense mode being
macos
instead ofwindows
when_WIN32
is defined on macOS. #13016 - Fix IntelliSense bugs when using non-UTF8 file encodings. #13028, #13044
- Fix an incorrect translation for "binary operator". #13048
- Fix the "references may be missing" logging pane being shown when the
C_Cpp.loggingLevel
isError
orNone
. #13066 - Fix
C_Cpp.default.compilerPath
not using theC_Cpp.preferredPathSeparator
setting when generated from the 'Select IntelliSense Configuration' command. #13083
v1.23.2
Instructions
Install it via using the Extensions view in VS Code and choosing the option "Switch to Pre-Release Version" or download a vsix that matches your OS from the "Download" dropdown in the "Version History" tab section on the Marketplace website) and then use the Extensions: Install from VSIX...
command in VS Code (don't double-click the vsix or another app like VS might try to open it incorrectly).
Requirements
- VS Code 1.67.0 or later (April 2022).
- Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).
Changes
Enhancements
- Changes to how paths are internally canonicalized on Linux and macOS, avoiding file system access to improve performance and delay resolution of symbolic links. #12924
- Add handling of
-fno-char8_t
and-fchar8_t
compiler arguments. #12968 - Add support for providing well-known compiler argument information to Copilot Completions. PR #12979
- Fixed unnecessary cancellation of Copilot context requests. PR #12988
- Add support for passing an additional parameter to
C_Cpp.ConfigurationSelect
command. PR #12993- Thank you for the contribution. @adrianstephens
- Update clang-format and clang-tidy from 19.1.2 to 19.1.5.
Bug Fixes
- Increase clang-format timeout from 10 seconds to 30 seconds. #10213
- Fix casing of path in include completion tooltip on Windows. #12895
- Fix pattern matching of sections in
.editorConfig
files. #12933 - Fix handling of relative paths passed to cl.exe
/reference
argument. #12944 - Fix a leak of compile command file watchers. #12946
- Fix a compile commands fallback logic issue. #12947
- Fix an issue in which a
didOpen
event was processed before the language client was fully started. #12954 - Fix IntelliSense issues related to large header files (>32K) and encodings other than UTF-8.
- Fix a deadlock.
1.23.1
Instructions
Install it via using the Extensions view in VS Code and choosing the option "Switch to Pre-Release Version" or download a vsix that matches your OS from the "Download" dropdown in the "Version History" tab section on the Marketplace website) and then use the Extensions: Install from VSIX...
command in VS Code (don't double-click the vsix or another app like VS might try to open it incorrectly).
Requirements
- VS Code 1.67.0 or later (April 2022).
- Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).
Changes
Bug Fixes
- A potential fix for a crash during process shutdown (in
uv_run
). #12668 - Fix a performance issue where some LSP requests would delay other LSP requests. #12905
- A potential fix for a crash in cpptools (in
report_intellisense_results
). - Fix a random deadlock with
compiler_info::find_or_create
. - Fix a random deadlock with
handle_edits
. - Other internal fixes.
1.22.11 (patch update)
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 "Download" dropdown in the "Version History" tab section on the Marketplace website, and then use the
Extensions: Install from VSIX...
command in VS Code (don't double-click the vsix or another app like VS might try to open it incorrectly). - 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>
.
Requirements
- VS Code 1.67.0 or later (April 2022).
- Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).