Releases: microsoft/vscode-cpptools
1.23.0
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
- Update to clang-format and clang-tidy 19.1.2. #12824
- Enable
#cpp
with GitHub Copilot chat withoutC_Cpp.experimentalFeatures
enabled. PR #12898
Bug Fixes
- Fix some translation issues. #7824, #12439, #12440, #12441
- Fix a bug with 'Select IntelliSense Configuration'. #12705
- Fix newlines being removed from hover markdown code blocks. #12794
- Fix clang-format using
-
instead of--
args. #12819 - Fix processing of
compile_commands.json
generated by the clang-MJ
option. #12837 - Fix handling of
-I
and-isystem
with the same path. #12842 - Fix stale colorization due to delays in updating the open file version. PR #12851
- Fix redundant progressive squiggle updates. PR #12876
- Fix inactive regions with multi-byte UTF-8 characters. #12879
- Fix some duplicate requests potentially not getting discarded.
- Fix a random crash in
start_process_and_wait_for_exit
on Windows.
1.22.10 (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.).
Changes
Bug Fixes
- Fix the 'Extract to Function' feature not working.
- Fix the 'Go to Next/Prev Preprocessor Conditional' feature not working.
1.22.9
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>
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
Performance Improvements
- Initialization performance improvements. #12030
- Performance improvements related to how custom configurations are processed. #9003, #12632
- Improve the implementation of file buffers to reduce memory usage.
- Performance improvements related to LSP request processing.
Enhancements
- Add modified
C_Cpp
settings to theC/C++: Log Diagnostics
output. #11700 - Add better validation for settings. #12371
- Change the default C/C++
"editor.stickyScroll.defaultModel"
to"foldingProviderModel"
. #12483 - Remove the
C_Cpp.intelliSenseEngineFallback
setting. #12596 - Enable
C/C++: Log Diagnostics
without a C/C++ file being active. #12634 - Add "Additional Tracked Settings" to the
C/C++: Log Diagnostics
output. PR #12635 - Add support for providing additional context information to Copilot Chat. PR #12685
- Currently, it requires
"C_Cpp.experimentalFeatures": "enabled"
and typing#cpp
in the chat.
- Currently, it requires
- The .vsix and .js files are now signed. #12725, #12744
- Add the database path to the
C/C++: Log Diagnostics
output. - Various IntelliSense parsing updates/fixes.
Bug Fixes
- Fix the compiler selection control not keeping the list in sync with the contents of the textbox. #7427
- Fix a string localization issue. #7824
- Fix an issue with the 'Add #include' code action incorrectly using a relative path for a system include. #12010
- Fix an issue with lingering IntelliSense squiggles after an edit. #12175
- Fix hover over static constexpr variables sometimes not working. #12284
- Fix completion not giving results in several scenarios. #12412
- Stop logging duplicate compiler path messages. #12445
- Fix an issue where a file is incorrectly processed as C instead of C++. #12466
- Fix an issue with missing database symbols after a Rename operation. #12480
- Fix include path ordering being incorrect if there is a duplicate. #12525
- Fix a WebAssembly "Out of Memory" error. #12529
- Fix an error message not being shown if the connection failed with remote attach debugging. #12547
- Thank you for the contribution. @MrStanislav0 (Stanislav)
- Fix
-I
not being used if-iquote
is also used for the same path. #12551 - Fix issues with relative paths on
nvcc
(CUDA) command lines not being handled correctly. #12553 - Fix a crash on shutdown on macOS with a verbose logging level. #12567
- Fix a random crash when a child process is created. #12585
- Work around IntelliSense issues with clang 18 due to
size_t
not being defined. #12618 - Fix the
/FU
flag not working for C++/CLI. #12641 - Fix a crash in
find_existing_intellisense_client
. #12666 - Fix a rare crash on macOS related to
get_memory_usage
. #12667 - Fix an issue with 'Extract to Function' formatting. #12677
- Fix an issue with duplicate tag parsing occurring after a Rename operation. #12728
- Fix an issue preventing use of a full command line in
compilerPath
. PR #12774 - Fix an issue with clang-format/tidy version checks for some builds. #12806
- Fix an issue causing unnecessary TU updates for files opened during a Rename operation, when
"files.refactoring.autoSave": false
is used. - Fix some issues with recursive includes handling of symbolic links, multi-root, exclusion changes, and file/folder deletion.
- Fix unnecessary IntelliSense resetting when a new file or folder was created.
- Fix an infinite loop on shutdown after changing the selected settings.
- Fix accumulation of stale signature help and completion requests.
- Fix handling of the
compiler-binddir
compiler argument. - Fix a random crash during IntelliSense creation.
- Fix some bugs with include completion.
1.22.8 (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 an issue with the 'Add #include' code action incorrectly using a relative path for a system include. #12010
- Fix an issue with lingering incorrect squiggles after an edit. #12175
- Fix an issue with clang-format/tidy version checks for some builds. #12806
- Revert/postpone changes related to recursive includes handling due to issues with some projects.
1.22.7 (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
Enhancement
Bug Fixes
1.22.6
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 an issue with usage of
#cpp
with Copilot chat. vscode-copilot-release#1634 - Fix a performance regression with tag parsing.
- Fix a document buffer issue related to edits within files containing multi-byte characters.
1.22.5
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
Enhancement
- Add the database path to the
C/C++: Log Diagnostics
output.
Bug Fixes
1.22.4
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+, macOS 10.12+, Linux (Ubuntu 16+, etc.).
Changes
Enhancements
- Performance improvements related to how custom configurations are processed. #12632
- Performance improvements related to LSP request processing.
Bug Fixes
- Fix an issue with missing database symbols after a Rename operation. #12480
- Work around IntelliSense issues with clang 18 due to
size_t
not being defined. #12618 - Fix some crashes with recursive includes. #12643
- Possibly fix a crash in
find_existing_intellisense_client
. #12666 - Fix issues applying
files.exclude
settings whenC_Cpp.caseSensitiveFileSupport
is enabled. #12672 - Fix an issue with duplicate tag parsing occurring after a Rename operation. #12728
- Fix an issue causing unnecessary TU updates for files opened during a Rename operation, when
"files.refactoring.autoSave": false
is used.
1.22.3
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+, macOS 10.12+, Linux (Ubuntu 16+, etc.).
Changes
Enhancement
- Add support for providing additional context information to Copilot Chat. PR #12685
- Currently, it requires
"C_Cpp.experimentalFeatures": "enabled"
and typing#cpp
in the chat.
- Currently, it requires
Bug Fixes
- Fix the compiler selection control not keeping the list in sync with contents of the textbox. #7427
- Fix a string localization issue. #7824
- Stop logging duplicate compiler path messages. #12445
- Fix some crashes with recursive includes. #12643
- Fix a rare crash on macOS related to
get_memory_usage
. #12667 - Fix an issue with 'Extract to Function' formatting. #12677
- Fix a potential deadlock in
process_paths
. #12690
1.22.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+, macOS 10.12+, Linux (Ubuntu 16+, etc.).
Changes
Enhancement
- Remove the
C_Cpp.intelliSenseEngineFallback
setting. #12596
Bug Fix
- Fix a deadlock when doing "Find All References" and a file is deleted. #12656