Skip to content

Releases: microsoft/vscode-cpptools

1.16.1

19 Jun 23:52
51da619
Compare
Choose a tag to compare
1.16.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.

Changes

Enhancements

  • Add warning logging when the database is reset due to a version change. #10984
  • Move user compilers to the beginning of the "known compilers" lists. #10985
  • Add file path to the details of a call hierarchy result. #10997
  • Add miDebuggerArgs to debugger attach option.

Bug Fixes

  • Fix the "Other References" pane not getting cleared when Call Hierarchy is used. #10988
  • Fix some bugs if settings were empty string or null. #10994
  • Fix cancellation for Find All References/Rename/Call Hierarchy. #10998
  • Fix two Doxygen comment generation bugs. #10995, #11016
  • Fix the thread pool sometimes not increasing in size, which could lead to the cpptools process incorrectly being shut down. #11003
  • Stop using vcFormat if .editorconfig exists with only non-formatting cpp settings. PR #11015
  • Use integratedTerminal when user is running cl.exe for debugger. #11032
  • Fix the configure your IntelliSense notification to not show again when the "Don't Show Again" option is selected. #11070

1.16.0

23 May 00:26
3eb5056
Compare
Choose a tag to compare
1.16.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.

Changes

New Features

  • Add Call Hierarchy. #16
  • Add "Copy Definition" and "Copy Declaration" code actions (for when the default Create placement isn't desired). #10238, #10942

Enhancements

  • Add support for other glob pattern syntax, such as [] and ^. #8960
  • Add support for C++23 z/Z and zu/ZU suffixes in clang/gcc modes. #10190

Bug Fixes

  • Fix an IntelliSense parsing bug with C++20 ranges. #8039
  • Fix an IntelliSense bug with user-defined floating-point literals. #10837
  • Fix deadlock with Find All References. #10855
  • Fix performance issues on machines with > 32 threads. #10874
  • Fix localization of "C/C++ Configurations". #10907
  • Fix the workspace folder not getting added to the browse.path in some cases. #10914
  • Fix incorrect Apple clang to LLVM clang version mappings. #10920
  • Revert -fms-extensions being added for mingw compilers by default (due to bugs). #10940
  • Fix the "known compilers" list not getting updated with "user compilers". #10943
  • Fix cancelation of Find All References while confirming references. #10947
  • Fix a bug with workspace parsing status. PR #10974
  • Fix a bug that could cause incomplete reading of stdout/stderr of child processes on Windows.
  • Fix incorrect "declaration is incompatible" IntelliSense errors.
  • Fix some potential crashes.

Known Issues

  • Currently investigating a cancellation issue that can occur if both find all references and call hierarchy are done and canceled. The workaround is to reload the window.

1.15.4

01 May 23:33
0c9d897
Compare
Choose a tag to compare

Instructions

Install it via using the Extensions view in VS Code or download a vsix that matches your OS from Assets section below (or 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.

Changes

Enhancements

  • Support multiple natvis files in visualizerFile. #925
  • Enable error squiggles for single file mode if includes resolve. #10062
  • Improve the description of the C_Cpp.codeAnalysis.clangTidy.enabled setting. #10454
  • Add a 'Select an IntelliSense configuration' code action and error message for standard headers which can't be found. #10531
  • Change the 'Edit "includePath" setting' code action to reference "compilerPath" for missing system includes. #10675
  • Add a "Configure IntelliSense" status bar warning (currently controlled by an experiment). #10685
  • Re-enable an updated C/C++ walkthrough (currently only available for some users). PR #10707
  • Update to clang-format/tidy 16. #10725
  • Move the configuration status bar item out of the language status UI. #10755
  • Change Select Default Compiler to Select IntelliSense Configuration with configuration providers and compile commands added. #10756

Bug Fixes

  • Support use of ccache, 'sccache', and 'clcache' in compilerPath and compile_commands.json command lines. #7616
  • Enable -fms-extensions by default for Cygwin and MinGW. #8353
  • Fix incorrect, excessive logging with compile commands. #9865
  • Fix IntelliSense errors with C++ 20 range and span. #10024, #10252
  • Fix two vcFormat settings being inverted. #10262, #10263
  • Fix 'Create Declaration / Definition' making modifications to files outside the workspace folder. #10402
  • Fix code analysis when --use-color=true is used. #10407
  • Fix IntelliSense errors with CUDA. #10455
  • Fix random save failures while code analysis is running on the saved file. #10482
  • Fix the compile commands prompt setting compileCommands to a compile_commands.json in a different workspace folder. #10588
  • Fix code analysis with _Float16. #10610
  • Fix code analysis with c23/gnu23. #10615
  • Fix 'Reset IntelliSense Database' being delayed until parsing is finished. #10616
  • Fix uncaught exception with some configuration providers. #10634
  • Fix crashes with a multi-root workspace. #10636
  • Fix bugs with the "You do not have IntelliSense configured" prompt. #10658, #10659
  • Fix random failures when adding or removing workspace folders. PR #10665
  • Fix missing clang-tidy checks setting values. #10667
  • Fix 'Select IntelliSense configuration' so that it works if it's already set in the workspace or workspace folder settings. #10674
  • Fix clang-tidy 'clang-analyzer-' documentation links not working. #10678
  • Fix the browse configuration provider cache not getting cleared. #10692, #10877
  • Fix a crash with recursive environment variables on Windows. #10704
  • Fix #import of .tlb files failing due to /Fo arguments to cl.exe not being processed. #10710
  • Fix cppbuild tasks not using the workspace folder as the cwd by default. #10742
  • Fix lots of IntelliSense processes getting launched after a Find/Replace operation (potentially freezing the OS). #10743
  • Fix workspace folder variable resolution with clang_format_style. #10752
  • For remote attach, use an absolute /bin/sh path on Linux. PR #10765
  • Fix the first registered configuration provider still being automatically used after a second registers. PR #10772
  • Fix C_Cpp.default.compilerPath in the settings UI showing a string editor when it shouldn't. #10795
  • Fix some issues due to usage of the spread operator not doing a deep copy. PR #10803
  • Fix the Code Analysis Options dropdown showing 'Resume' instead of 'Pause' after a cancel is done in a paused state. #10879
  • Fix "Code Analysis Mode" not being localized when initially shown. #10881
  • Fix the C/C++-related status bar items flickering off/on when switching documents. PR #10888
  • Fix __GXX_RTTI incorrectly being defined by IntelliSense with clang and -fms-compatibility.
  • Reduce the likelihood of an onWillSaveWaitUntil timeout.
  • Fix an IntelliSense crash with C++20 concepts.
  • Stop querying clang-cl.exe as C.

Known Issues

  • None so far.

1.15.3

25 Apr 17:24
9762fe5
Compare
Choose a tag to compare
1.15.3 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.

Changes

Bug Fix

  • Fix handling of sccache and clcache. #7616
  • Fix an undefined reference regression. PR #10824
  • Fix bugs with the "Configure IntelliSense" button. #10810, #10822, #10827

Known Issues

  • None major so far.

1.15.2

13 Apr 17:29
98f13a6
Compare
Choose a tag to compare
1.15.2 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.

Changes

Enhancements

  • Add a "Configure IntelliSense" status bar warning. #10685
  • Update to clang-format/tidy 16. #10725
  • Move the configuration status bar item out of the language status UI. #10755
  • Change Select Default Compiler to Select IntelliSense Configuration with configuration providers and compile commands added. #10756

Bug Fixes

  • Support use of ccache in compilerPath and compile_commands.json command lines. #7616
  • Fix two vcFormat settings being inverted. #10262, #10263
  • Fix the browse configuration provider cache not getting cleared. #10692
  • Fix a crash with recursive environment variables on Windows. #10704
  • Fix #import of .tlb files failing due to /Fo arguments to cl.exe not being processed. #10710
  • Fix cppbuild tasks not using the workspace folder as the cwd by default. #10742
  • Fix lots of IntelliSense processes getting launched after a Find/Replace operation (potentially freezing the OS). #10743
  • Fix workspace folder variable resolution with clang_format_style. #10752
  • For remote attach, use an absolute /bin/sh path on Linux. PR #10765
  • Fix the first registered configuration provider still being automatically used after a second registers. PR #10772
  • Fix C_Cpp.default.compilerPath in the settings UI showing a string editor when it shouldn't. #10795
  • Fix some issues due to usage of the spread operator not doing a deep copy. PR #10803

Known Issues

  • None so far.

1.15.1

23 Mar 00:10
42dfef3
Compare
Choose a tag to compare
1.15.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.

Changes

Bug Fixes

  • Fix crashes with a multiroot workspace. #10636
  • Fix a deadlock with a multiroot workspace. #10719

Known Issues

  • None so far.

1.14.5

22 Mar 23:01
6f4403c
Compare
Choose a tag to compare

Instructions

Install it via using the Extensions view in VS Code or download a vsix that matches your OS from Assets section below (or 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.

Changes

Bug Fix

  • Fix a deadlock with a multiroot workspace. #10719

Known Issues

  • None so far.

1.15.0

16 Mar 09:35
6516396
Compare
Choose a tag to compare
1.15.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.

Changes

Enhancements

  • Support multiple natvis files in visualizerFile. #925
  • Enable error squiggles for single file mode if includes resolve. #10062
  • Improve the description of the C_Cpp.codeAnalysis.clangTidy.enabled setting. #10454
  • Add a 'Select Default Compiler' code action and error message for standard headers which can't be found. #10531
  • Change the 'Edit "includePath" setting' code action to reference "compilerPath" for missing system includes. #10675

Bug Fixes

  • Enable -fms-extensions by default for Cygwin and MinGW. #8353
  • Fix incorrect, excessive logging with compile commands. #9865
  • Fix IntelliSense errors with C++ 20 range and span. #10024, #10252
  • Fix 'Create Declaration / Definition' making modifications to files outside the workspace folder. #10402
  • Fix code analysis when --use-color=true is used. #10407
  • Fix IntelliSense errors with CUDA. #10455
  • Fix random save failures while code analysis is running on the saved file. #10482
  • Fix the compile commands prompt setting compileCommands to a compile_commands.json in a different workspace folder. #10588
  • Fix code analysis with _Float16. #10610
  • Fix code analysis with c23/gnu23. #10615
  • Fix 'Reset IntelliSense Database' being delayed until parsing is finished. #10616
  • Fix uncaught exception with some configuration providers. PR #10629
  • Fix bugs with the "You do not have IntelliSense configured" prompt. #10658, #10659
  • Fix random failures when adding or removing workspace folders. PR #10665
  • Fix missing clang-tidy checks setting values. #10667
  • Fix 'Select Default Compiler' so that it works if it's already set in the workspace or workspace folder settings. #10674
  • Fix clang-tidy 'clang-analyzer-' documentation links not working. #10678
  • Fix __GXX_RTTI incorrectly being defined by IntelliSense with clang and -fms-compatibility.
  • Reduce the likelihood of an onWillSaveWaitUntil timeout.
  • Fix an IntelliSense crash with C++20 concepts.
  • Stop querying clang-cl.exe as C.

Known Issues

  • None so far.

1.14.4

01 Mar 02:08
ec47886
Compare
Choose a tag to compare

Instructions

Install it via using the Extensions view in VS Code or download a vsix that matches your OS from Assets section below (or 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.

Changes

Enhancements

  • Add c23 and c2x support for clang and gcc modes. #7471
  • Filter out clang-tidy #pragma once in main file warnings. #10539
  • Auto-configure configurationProvider even if default.compilerPath is set. PR #10607

Bug Fixes

  • Fix -- in args making compiler querying fail. #10529
  • Fix every .C file being opened in a compile_commands.json if it's build for C++. #10540
  • Fix -std=c++ not being used in compile_commands.json for .C files. #10541
  • Fix a crash when an error occurs in a forced include. #10598
  • Fix the configuration provider browse cache not getting cleared. PR #10608
  • Fix a bug that could cause IntelliSense to randomly stop updating.
  • Fix some random failures that could happen during database deletion.
  • Fix some random crashes on shutdown.

Known Issues

  • Code analysis doesn't work with _Float16. #10610
  • Code analysis doesn't work with c23/gnu23. #10615
  • Reset IntelliSense Database is delayed until parsing is finished. #10616

1.14.3

15 Feb 01:53
fa77454
Compare
Choose a tag to compare

Instructions

Install it via using the Extensions view in VS Code or download a vsix that matches your OS from Assets section below (or 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.

Changes

New Behavior

  • The extension does not automatically query compilers that it cannot implicitly trust when configuring IntelliSense. This may impact the extension's ability to locate system headers. If the compiler you want us to emulate is not in the $PATH and you accidentally dismissed the notification asking you to confirm the compiler we found, run the C/C++: Select Default Compiler command to instruct the extension which compiler to emulate for IntelliSense.

New Features

  • Add recursive macro expansion on hover. #3579
  • Move status bar items to the language status UI. #8405
    • This may not be enabled for all users unless C_Cpp.experimentalFeatures is true.
  • Add the 'Select Default Compiler' command that lets you choose a default compiler to configure IntelliSense. #10027

Enhancements

  • Exclude rename results external to the workspace. #9235
  • Add error messages for Create Declaration / Definition. #10163
  • Add support for LLVM-based Intel C/C++ compilers. #10218
  • SSH output improvements. PR #10292
  • Reorder commands in the code action context menu. #10400
  • Add Ada to supported languages for debugging. #10475

Bug Fixes

  • Fix usage of relative paths in IntelliSense configuration settings with multi-root workspaces. #4983
  • Fix infinite recursion in scout_parser. #8898
  • Fix an IntelliSense crash with the seqan3 library. #8956
  • Fix looping between C and C++. #9689
  • Fix Doxygen comments for the function signature being autogenerated when typing inside a function. #9742
  • Show a reload prompt after C_Cpp.hover is changed. #10076
  • Fix function inlay hints not working with std::string_literal arguments. #10078
  • Fix IntelliSense completion for std::string with ?: and string(). #10103
  • Fix semantic colorization not working in a certain case. #10105
  • Fix IntelliSense completion not working inside constructor calls that are incomplete. #10111
  • Fix changes to the enclosing type not being taken into account after "Create Declaration / Definition" is used once. #10162
  • Fix "False positive expression must have a constant value with __builtin_choose_expr in _Static_assert". #10168
  • Fix Create Declaration / Definition with an anonymous namespace. #10189
  • Fix file exclusions not being applied to the first directory found for each browse.path entry. #10205
  • Fix IntelliSense mode auto-detection for VS 2015 compiler paths. #10207
  • Fix clang-cl 15 querying with /WX. #10221
  • Fix an incorrect IntelliSense error with std::bind, c++17, and windows-msvc-arm64 mode. #10304
  • Fix vcFormat when using lambda functions. #10326
  • Fix IntelliSense crash in field_for_lambda_capture. #10359
  • Fix for cpptools getting shutdown after waking up from sleep. #10362
  • Fix an IntelliSense crash when using the French language pack. #10374
  • Fix the process id picker only showing part of the process on a remote machine. #10379
  • Fix temp files generating at the incorrect path. #10386
  • Fix a crash in extractArgs. PR #10394
  • Fix a bug with settings changes not being handled correctly for multiroot. PR #10458

Known Issues

  • Nothing major so far.