Skip to content

Releases: microsoft/vscode-cpptools

1.17.1

10 Aug 00:55
a5f8f84
Compare
Choose a tag to compare
1.17.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 an issue where the debugger would get stuck while using cl.exe options. #10231
  • Fix C/C++ commands showing in the Command Palette with non-C/C++ files. #10421
  • Fix the 'Select IntelliSense Configuration' command to also update an existing compilerPath in c_cpp_properties.json. #10808
  • Fix the parameter format of call hierarchy items. #11247
  • Remove the vcpkg code action from the missing includes code action list. #11252
  • Fix the file path info of call hierarchy items to display the relative path to a workspace folder. #11254
  • Fix colorization for macro expansions in macro arguments. #11256
  • Fix a crash for CUDA projects with '>' in the command line. #11289
  • Increase the default standard for the 'Build and Debug Active File' feature to c++14 on macOS. #11292
  • Fix an issue with the compiler currently configured for use with IntelliSense being listed last in the task creation popup. PR #11299
  • Fix an IPCH issue on Linux due to the Position Independent Executable (PIE) option not being set since 1.17.0.

1.17.0

27 Jul 03:47
e53b190
Compare
Choose a tag to compare
1.17.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

  • Enable a subset of markdown to render in hover by default and a C_Cpp.markdownInComments setting. #6020, #10461
  • Add default compiler detection of additional compilers in MSYS environments. #11211
  • Add support for additional compiler wrappers: gomacc, distcc, buildcache, and icecc.

Bug Fixes

  • Fix a couple bugs with documentation comments. #5241
  • Added __float128 support in gcc IntelliSense mode. #9558
  • Address various issues with support for gcc 13. #11038
  • Fix #include completion leaving an extra >. #11042
  • Fix an issue with matching of glob patterns containing path delimiters. #11132
  • Fix Create Declaration/Definition via Quick Fix… from hover tooltip. #11157
  • Fix issues with compiler querying of clang-cl. #11207
  • Fix files.encoding setting on startup. #11210
  • Fix a crash related to directories with a very large number of files. #11226
  • Fix Rank > 1 Display Strings for Natvis. PR MIEngine#1406
  • Fix some crashes identified by crash telemetry.
  • Fix an issue that could cause zombie processes on Linux/Mac.
  • Address some issues with glibc version compatibility. Native binaries for cpptools and the bundled clang-tidy/clang-format are now built with musl and fully statically linked.
  • Fix the wrong compiler being set as default when configured to use compile_commands.json and overriding the compiler used there with an explicit compilerPath.

Thank You to the Contributors

1.16.3

24 Jun 03:22
93cc277
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 "cout is ambiguous" error. #11122

1.16.2

23 Jun 00:22
82671ea
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.

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
  • 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 an IntelliSense parsing bug with C++20 ranges. #8039
  • Fix incorrect insertion of Create Declaration/Definition when it also adds a #include. #10464
  • 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 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
  • 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.

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.