Skip to content

Releases: microsoft/vscode-cpptools

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.

1.14.2 (pre-release, release candidate)

10 Feb 02:14
edf8e0a
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.

Changes

Enhancements

Bug Fixes

  • Show a reload prompt after C_Cpp.hover is changed. #10076
  • Fix a bug with settings changes not being handled correctly for multiroot. PR #10458
  • Fix a crash with empty PATH entries on Linux/Mac.

Known Issues

  • None so far.

1.14.1 (pre-release)

03 Feb 02:47
b745ebc
Compare
Choose a tag to compare
1.14.1 (pre-release) 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 recursive macro expansion on hover. #3579
  • Move status bar items to the language status UI. #8405
  • 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
  • Reorder commands in the code action context menu. #10400

Bug Fixes

  • Fix Create Declaration / Definition with an anonymous namespace. #10189
  • Potential fix for cpptools getting shutdown after waking up from sleep. #10362
  • 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

Known Issues

  • Changes to settings (e.g. C_Cpp.default.compilerPath) may not get updated in the non-active workspace folders. PR #10458

1.14.0 (pre-release)

14 Jan 00:24
b69d17a
Compare
Choose a tag to compare
1.14.0 (pre-release) 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 support for LLVM-based Intel C/C++ compilers. #10218
  • SSH output improvements. PR #10292

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
  • 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 constuctor 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 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

Known Issues

  • None so far.

1.13.9

04 Jan 23:17
f7c2cc8
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 clang-format and clang-tidy not working for macOS 11 arm64. #10282

1.13.8

16 Dec 03:02
a397a47
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 tag parser failure on machines with multiple extension users. #10224
  • Fix a --using_directory IntelliSense error if LIBPATH is defined with non-msvc IntelliSense modes. #10249
  • Fix a crash when the configuration name is missing. #10251
  • Fix clang-format and clang-tidy not working for macOS 11 arm64. #10282

1.13.7

08 Dec 22:42
01a747a
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 files.associations not working. #10244