Releases: microsoft/vscode-cpptools
1.12.4
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
Other
- Revert changes to telemetry key format. PR #9822
1.12.3
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 Features
- Add Doxygen comment generation via command, context menu, code action, or typing. #5683
- Add auto-complete of Doxygen keywords in comments.
Enhancements
- Add auto-formatting of lines that are changed by code analysis fixes. #9322
- Add compile arguments to enable colorized output in cppBuild tasks for clang. #9643
- Cache and reuse SSH passwords in the current remote debugging session. PR #9654
- Fix "natvis collections only show the first 50 elements". MIEngine#821
- Related #9377
- Fix "cppdbg doesn't support array view of char* buf". MIEngine#1258
- Support explicit
this
references in natvis files. - Do std fallback when compiler querying, even when explicitly specified via a compiler arg.
Bug Fixes
- Fix several IntelliSense parsing bugs. #3683, #6659, #7446, #9215
- Fix crash when tag parsing files containing certain string literals. #9538
- Fix incorrect semantic tokens with templated operator overloads. #9556
- 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 thecompilerArgs
orcompilerFragments
. #9628 - Fix unnecessary IntelliSense process restarting on file creation handling. #9630
- Fix tag parsing of classes and enums with attributes. #9672
- Add PID to the extended remote process picker. PR #9673
- Fix tag parser crash. #9679, #9695
- Fix code analysis fixes generating invalid code when the fix has escaped characters. #9683
- Fix unintended generation of
nul.d
file when querying clang or gcc, when compiler arguments include dependency generation arguments. #9707 - Fix code analysis fixes not being available when more than one check is associated with a fix. #9755
- Fix error when debugging is started without a launch.json and IntelliSense is disabled. #9762
- Fix "The result of GDB -exec evaluate request in all contexts is printed in debug console." MIEngine #1236
- Fix "Evaluating a variable after a failed Step Out causes a fatal error, leaving debug session unusable". MIEngine#1336
- Gareth Rees (@gareth-rees) PR MIEngine#1337
- Fix deadlock in HandleStackTraceRequestAsync where lock was hold too long.
- GeorgeMay (@JoergMeier106) PR MIEngine#1309
- Fix potential crashes on shutdown.
Known Issues (related to changes in this release)
- Doxygen comment generation "on type" doesn't work with
/**
or/*!
styles. #9799- This is planned for our next release.
1.12.2 (pre-release, release candidate)
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
- Fix "natvis collections only show the first 50 elements". MIEngine#821
- Related #9377
- Fix "cppdbg doesn't support array view of char* buf". MIEngine#1258
- Support explicit
this
references in natvis files.
Bug Fixes
- Fix code analysis fixes generating invalid code when the fix has escaped characters. #9683
- Fix tag parser crash. #9679, #9695
- Fix code analysis fixes not being available when more than one check is associated with a fix. #9755
- Fix the asterisk alignment of the ending
*/
for generated Doxygen comments. #9758 - Fix infinite memory usage if a code analysis fix causes line deletion when formatting uses
vcFormat
. #9761 - Fix error when debugging is started without a launch.json and IntelliSense is disabled. #9762
- Fix "The result of GDB -exec evaluate request in all contexts is printed in debug console." MIEngine #1236
- Fix "Evaluating a variable after a failed Step Out causes a fatal error, leaving debug session unusable". MIEngine#1336
- Gareth Rees (@gareth-rees) PR MIEngine#1337
- Fix deadlock in HandleStackTraceRequestAsync where lock was hold too long.
- GeorgeMay (@JoergMeier106) PR MIEngine#1309
1.12.1 (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)
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 thecompilerArgs
orcompilerFragments
. #9628 - Fix unnecessary IntelliSense process restarting on file creation handling. #9630
- Fix potential crashes on shutdown.
1.11.5
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
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 incompilerArgs
. #9586
Known Issues
1.11.3 (pre-release, release candidate)
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 incompilerArgs
. #9586
1.11.2 (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)
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 addC_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