Skip to content

Releases: microsoft/vscode-cpptools

1.23.1

08 Nov 03:10
784f145
Compare
Choose a tag to compare
1.23.1 Pre-release
Pre-release

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)

06 Nov 03:13
37950ff
Compare
Choose a tag to compare

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 system includes incorrectly being treated as non-system includes when specified with -I. #12842
  • Fix inactive region ranges when multi-byte UTF-8 characters are used. #12879
  • Fix formatting with .editorconfig files. #12921

1.23.0

30 Oct 00:57
381d696
Compare
Choose a tag to compare
1.23.0 Pre-release
Pre-release

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 without C_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)

22 Oct 00:06
dead10a
Compare
Choose a tag to compare

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

15 Oct 00:05
db6e0cb
Compare
Choose a tag to compare

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
    • Some processing is parallelized and started earlier (populating the filename cache, discovering files). #11954, #12169
    • Some compiler configuration queries are cached in the database, and processing of compile_commands.json was improved. #10029, #12078
  • 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 the C/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.
  • 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
  • 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)

09 Oct 01:03
d41ccfd
Compare
Choose a tag to compare
Pre-release

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)

01 Oct 23:49
c8b7f13
Compare
Choose a tag to compare
Pre-release

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

  • Fix some Copilot-related issues. PR #12773
  • Fix an issue preventing use of a full command line in compilerPath. PR #12774
  • Fix an infinite loop on shutdown after changing the selected settings.
  • Fix a crash (from insert_lines).

1.22.6

26 Sep 01:07
8d0d360
Compare
Choose a tag to compare
1.22.6 Pre-release
Pre-release

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

25 Sep 02:16
e9613ae
Compare
Choose a tag to compare
1.22.5 Pre-release
Pre-release

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

  • Fix some synchronization and crash issues with handle_edits. #12747
  • Fix usage of #cpp with Copilot chat. PR #12755
    • NOTE: Currently requires VS Code Insiders, due to #12765.
  • Fix some document buffer issues.

1.22.4

20 Sep 10:17
3570705
Compare
Choose a tag to compare
1.22.4 Pre-release
Pre-release

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 when C_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.