Skip to content

Releases: microsoft/vscode-cpptools

1.12.1 (pre-release)

16 Aug 23:46
68c9cb9
Compare
Choose a tag to compare
1.12.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 Doxygen comment generation via command, context menu, code action, or typing. #5683
  • Add auto-complete of Doxygen keywords in comments.

Enhancements

  • Enable auto-formatting of lines that are changed by code analysis fixes. #9322
  • Enable colorized output in cppBuild tasks for clang. #9643
  • Cache and reuse SSH passwords in the current remote debugging session. PR #9654
  • Do std fallback when compiler querying, even when explicitly specified via a compiler arg.

Bug Fixes

  • Fix C++20 IntelliSense parsing bugs. #7446, #9215
  • Fix crash when tag parsing files containing certain string literals. #9538
  • Fix incorrect semantic tokens with templated operator overloads. #9556
  • Fix llvm-project parser crash on file: clang/test/parser/parser_overflow.c. #9653
  • Fix tag parsing of classes and enums with attributes. #9672
  • Add PID to the extended remote process picker. PR #9673
  • Fix llvm-project parser crash on file: libcxx/test/support/test.support/make_string_header.pass.cpp. #9679
  • Fix unintended generation of nul.d file when querying clang or gcc, when compiler arguments include dependency generation arguments. #9707
  • Fix issue with stuck database icon when an excluded file is open on launch or when the database is reset.

1.12.0 (pre-release)

28 Jul 17:50
886d3c5
Compare
Choose a tag to compare
1.12.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

  • Show an informative message when an IntelliSense-related command is executed while IntelliSense is disabled. #9614
  • Add the .vs folder to the default exclusions. PR #9629

Bug Fixes

  • Fix some IntelliSense parsing bugs. #3683, #6659
  • Fix . to -> completion in functions defined in the class/struct definition. #9599
  • Fix inlay hint filtering not working with some cases of whitespace. #9606
  • Fix Chinese translation mistakes.
  • Fix IntelliSense error with ARM register declarations. #9627
  • Fix files with a .c extension not using a C++ std version passed in the compilerArgs or compilerFragments. #9628
  • Fix unnecessary IntelliSense process restarting on file creation handling. #9630
  • Fix potential crashes on shutdown.

1.11.5

10 Aug 23:00
5d736cc
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.65.0 or later.

Changes

Bug Fixes

  • Fix crash when tag parsing files containing certain string literals. #9538
  • Fix llvm-project parser crash on file: clang/test/parser/parser_overflow.c. #9653
  • Fix llvm-project parser crash on file: libcxx/test/support/test.support/make_string_header.pass.cpp. #9679

Known Issues

1.11.4

22 Jul 02:03
5d736cc
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.65.0 or later.

Changes

New Features

  • Add inlay hints for parameters and auto types. #5845
  • Add extended remote support for debugging. #8497, #9195, #9491

Enhancements

  • Add deploySteps and variables to cppdbg. PR #9418

Bug Fixes

  • Fix "unknown register name" IntelliSense error. #4382
  • Fix performance issue with tag parsing a file with a lot of defines. #6454
  • Fix IntelliSense with gcc vector extension types. #6890
  • Fix doc comments for macros and typedefs. #8320
  • Fix issue with CUDA configuration when using a custom config provider and no config is available for the file. #8483
  • Fix missing logging when C_Cpp.intelliSenseEngine is set to "Disabled". #9277
  • Fix doxygen comments not being displayed for multiple adjacent @brief or @return tags. #9316
  • Fix the code analysis "disable" option not automatically clearing the disabled diagnostics. #9364
  • Fix -isystem not being used for system headers with code analysis. #9366
  • Fix compiler querying for EDG-based compilers. #9410
  • Fix hiding IntelliSense dependent commands when C_Cpp.intelliSenseEngine is "Disabled". #9451
  • Fix cl.exe build tasks not showing for .c files and .c build tasks being cached for .cpp files (and vice versa). PR #9544
  • Fix code analysis not detecting warnings with relative paths. #9555
  • Fix --header-filter being used with clang-tidy when it shouldn't when a .clang-tidy file exists. #9566
  • Fix code analysis giving an error with __has_include with gcc 9. #9575
  • Fix -target not being processed in compilerArgs. #9586

Known Issues

  • Inlay Hint Issues: #9619, #9606, #9501, #9622, #9624
  • IntelliSense error with ARM register declarations: #9627
  • There may be some IntelliSense crash regressions compared to 1.10.8, but we don't have repros, call stacks, or user reports yet. Our pending 1.12.0 may fix some of these.

1.11.3 (pre-release, release candidate)

20 Jul 02:07
0445fc4
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.65.0 or later.

Changes

New Feature

Bug Fixes

  • Fix doc comments for macros and typedefs. #8320
  • Fix issue with CUDA configuration when using a custom config provider and no config is available for the file. #8483
  • Fix code analysis not detecting warnings with relative paths. #9555
  • Fix --header-filter being used with clang-tidy when it shouldn't when a .clang-tidy file exists. #9566
  • Fix code analysis giving an error with __has_include with gcc 9. #9575
  • Fix -target not being processed in compilerArgs. #9586

1.11.2 (pre-release)

08 Jul 20:49
16b4710
Compare
Choose a tag to compare
1.11.2 (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.65.0 or later.

Changes

Enhancements

  • Add deploySteps and variables to cppdbg. PR #9418

1.11.1 (pre-release)

08 Jul 05:00
08776b7
Compare
Choose a tag to compare
1.11.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.65.0 or later.

Changes

Enhancements

  • Move "auto" inlay hints to the right by default and add C_Cpp.inlayHints.autoDeclarationTypes.showOnLeft. #9478
  • Allow breakpoints for Rust debugging. PR #9484
  • Remove _ from the start of parameter inlay hints and add C_Cpp.inlayHints.parameterNames.hideLeadingUnderscores. #9485
  • Add C_Cpp.inlayHints.referenceOperator.showSpace setting. #9486
  • Make C_Cpp.debugShortcut settable per-workspace folder. PR #9514

Bug Fixes

  • Fix "unknown register name" IntelliSense error. #4382
  • Fix performance issue with tag parsing a file with a lot of defines. #6454
  • Fix missing logging when C_Cpp.intelliSenseEngine is set to "Disabled". #9277
  • Fix the code analysis "disable" option not automatically clearing the disabled diagnostics. #9364
  • Fix -isystem not being used for system headers with code analysis. #9366
  • Fix compiler querying for EDG-based compilers. #9410
  • Fix bug with the environment being incorrect when compiler querying. #9472
  • Fix inlay hints not having padding on the left if there is no existing space. #9479
  • Fix duplicate inlay hints appearing sometimes. #9487
  • Fix duplicate compiler args in compiler query with custom configuration providers using cpptools-api prior to v6. #9531
  • Fix cl.exe build tasks not showing for .c files and .c build tasks being cached for .cpp files (and vice versa). PR #9544
  • Fix process launching concurrency issues on Windows.

Known Issues

  • & is incorrectly suppressed in parameter inlay hints when the actual parameter matches the parameter hint: #9501

1.10.8

08 Jul 01:22
fe9cfe3
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.63.0 or later.

Changes

Enhancements

  • Allow breakpoints for Rust debugging. PR #9484
  • Make C_Cpp.debugShortcut settable per-workspace folder. PR #9514

Bug Fixes

  • Fix crash if clang-tidy returns a replacement with an empty FilePath. #9437
  • Fix skipping the compiler argument after -c. #9453
  • Fix -std:c++20 not being handled with cl.exe. #9458
  • Fix bug with the environment being incorrect when compiler querying. #9472
  • Fix duplicate compiler args in compiler query with custom configuration providers using cpptools-api prior to v6. #9531
  • Fix process launching concurrency issues on Windows.

Known Issues

By-Design Breaking Change

  • A single string with spaces in compilerArgs is no longer supported with 1.10.5. #9432

External

  • Binary mismatch error. We believe it's a VS Code or external bug. #9433

1.11.0 (pre-release)

23 Jun 21:41
2a5198e
Compare
Choose a tag to compare
1.11.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.65.0 or later.

Changes

New Features

  • Add inlay hints for parameters and auto types. #5845

Bug Fixes

  • Fix doxygen comments not being displayed for multiple adjacent @brief or @return tags. #9316
  • Fix crash if clang-tidy returns a replacement with an empty FilePath. #9437
  • Fix hiding IntelliSense dependent commands when C_Cpp.intelliSenseEngine is "Disabled". #9451
  • Fix skipping the compiler argument after -c. #9453
  • Fix -std:c++20 not being handled with cl.exe. #9458

Known Issues

Regressions

  • The environment is incorrect when compiler querying. #9472

Other

1.10.7

16 Jun 17:38
3263fab
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.63.0 or later.

Changes

Bug Fixes

  • Fix bugs with process creation on Windows (which caused IntelliSense to fail). #9431

Known Issues

Regressions

  • Code analysis crashes in certain scenarios. #9437
  • -std:c++20 isn't being handled with cl.exe. #9458

By-Design Breaking Change

  • A single string with spaces in compilerArgs is no longer supported with 1.10.5. #9432

External

  • Binary mismatch error. We believe it's a VS Code or external bug. #9433