Skip to content

Releases: microsoft/vscode-cpptools

1.18.1

03 Nov 03:16
4149493
Compare
Choose a tag to compare
1.18.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

New Feature

  • Add #include code action suggestions for some IntelliSense errors related to symbols not being found. #10791
    • Since C code doesn't give an error for an undefined symbol, it usually won't be available for C.

Enhancements

  • Improve the walkthrough wording. #11320
  • Change 'Extract to Function' to prompt for the name instead of doing a rename afterwards. #11531
  • Add a pre-release available notification. PR #11569

Bug Fixes

  • Fix no error message getting shown if 'Extract to Function' creation fails. #11567
  • Fix an autocomplete crash bug (primarily on Mac).
  • Fix an IntelliSense crash when selecting code.

Known Issues

1.18.0

13 Oct 10:50
43aad3f
Compare
Choose a tag to compare
1.18.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 an 'Extract to Function' (or Member Function) code action after selecting code. #1162
    • Currently, it's only enabled when C_Cpp.experimentFeatures is set to enabled. Also, 'Extract to Free Function' is disabled.
  • Add the option to install a compiler, accessible through the walkthrough. PR #11286

Enhancements

  • Add setting C_Cpp.refactoring.includeHeader to customize whether or not to add an include header when doing a refactoring code action. #11271
  • Update clang-format and clang-tidy to 17.0.2. PR #11491

Bug Fixes

  • Fix the debugger truncating long strings when inspecting values. #1786
  • Switch to using XDG_CACHE_HOME on Linux for the default database path. #10191
  • Fix incorrect status and commands with the tag parsing language status UI. #10749
  • Fix an empty ("") compilerPath in a base configuration overriding the compiler specified by a custom configuration provider or a compile_commands.json. #11373
  • Fix a startup crash when reading values from JSON (settings) that are not the type expected. #11375
  • Fix a crash detected by crash telemetry. #11401
  • Fix handling of an undefined env variable on Linux and macOS. #11447
  • Fix multiple issues with querying nvcc (CUDA) as a compiler. #11454
  • Fix an issue that could cause a C language standard to be applied to a C++ file, or vice versa.
  • Remove cpp and clang-cpp preprocessors from the list of detectable compilers.

v1.17.5

28 Aug 22:55
ef04f02
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 Fixes

  • Fix a language server crash for platforms that don't support the IntelliSense cache (AutoPCH). #10789
  • Fix markdown in comments when inline/block code is used. #11322
  • Fix Find All References and Call Hierarchy for C files when the cursor is at the end of a symbol. #11338
  • Fix usage of the /Zc:alignedNew- MSVC compiler option. #11350

1.17.4

21 Aug 21:38
28d5715
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 Fixes

  • Fix crash recovery for the main extension process. #11335
  • Fix an IntelliSense process crash when certain error messages occur with a language pack enabled. #11336

v1.17.3

17 Aug 02:10
47785c4
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 regression with attaching the debugger to processes on Linux and macOS. #11328

v1.17.2

14 Aug 23:58
d60499f
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

  • Enable a subset of markdown to render in hover by default and a C_Cpp.markdownInComments setting. #6020, #10461
  • Add support for gcc 13 features. #11038
  • Add default compiler detection of additional compilers in MSYS environments. #11211
  • Use musl for building Linux binaries of the extension.
  • 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
  • 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 #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 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.
  • 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.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.