Releases: microsoft/vscode-cpptools
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
1.10.8
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)
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
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
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