Releases: microsoft/vscode-cpptools
1.8.0-insiders3
Instructions
Download the .vsix that matches your OS and run the "Install from VSIX" command in VS Code (don't double-click the .vsix or another app like VS might try to open it incorrectly).
Note: Due to new version numbering requirements for VS Code pre-release extension support, this will appear in VS Code as version
1.8.0instead of1.8.0-insiders3
Requirements
- VS Code 1.63.0 or later.
Changes
New Features
- Add "All Exceptions" Breakpoint for cppdbg #1800
- Add support for Alpine Linux #4827
- Implement platform-specific VSIX's via the marketplace. #8152
Bug Fixes
- Fix [MSYS2 GDB 10.2] gdb: ERROR: Unable to start debugging. Unexpected GDB output from command "-exec-run". Error creating process #7706
- Remove redundant cl.exe from the build and debug active file configuration list. #8168
- Stop adding
-fms-extensionsby default for gcc-based compilers on Windows. #8475, #8487 - Fix clang-tidy header warnings sometimes not disappearing after the issue is fixed. #8502
- Fix clang-tidy processing status indicator getting stuck after editing/saving a header that is currently being analyzed by clang-tidy. #8504
- Fix non-ASCII output with
cppbuildtasks. #8518 - Fix 3 settings not getting environment variables resolved after a settings change. #8531
- Fixes to translations. #8536
- Fix /RTC compiler checks failures don't break into debugger #8646
1.8.0-insiders2
Instructions
To use the "offline" .vsix (that doesn't download OS-based dependencies on extension activation), download the .vsix that matches your OS and run the "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.60.0 or later.
Changes
Bug Fixes
- Fix GCC system include processing on Windows. #8112, #8496
- Fix the tag parser getting stuck on certain code. #8459
- Fix
C_Cpp.codeAnalysis.maxConcurrentThreadsusing the wrong value. #8471 - Fix save failing after editing a header that is used by clang-tidy for a TU that is different from the default TU. #8473
- Fix inactive region rendering. #8478
- Fix CUDA support not working. #8481
- Fixes for other IntelliSense issues.
- Fix some translations.
Known Issues
- clang-tidy header warnings sometimes don't disappear after the issue is fixed. #8502
- clang-tidy processing status indicator can get stuck after editing/saving a header that is currently being analyzed by clang-tidy. #8504
- onWillSaveTextDocument sometimes times out eventually causing save to fail when clang-tidy is running. (#8474)
1.8.0-insiders
Instructions
To use the "offline" .vsix (that doesn't download OS-based dependencies on extension activation), download the .vsix that matches your OS and run the "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.60.0 or later.
Changes
New Features
- Add multi-threaded code analysis (using
clang-tidy) based on the IntelliSense configuration. It defaults to using up to half the cores, but it can be changed via theC_Cpp.codeAnalysis.maxConcurrentThreadssetting. #2908.
Enhancements
- The maximum number of threads to use for Find All References can be configured with the
C_Cpp.references.maxConcurrentThreadssettings. #4036. - The IntelliSense processes launched to confirm references during Find All References can be cached via the
C_Cpp.references.maxCachedProcessessetting. #4038 - The maximum number of IntelliSense processes can be configured with the
C_Cpp.intelliSense.maxCachedProcessessetting, and the number of processes will automatically decrease when the free memory becomes < 256 MB and it can be configured to use less memory via themaxMemorysettings (memory usage from code analysis is not handled yet). #4811 - Add a compiler arg to the generated gcc build task to display colored text. PR #8165
- Add
staticand other modifiers to IntelliSense hover results. #8173 - Add a configuration warning when the default compiler modifies an explicitly set
intelliSenseMode.
Bug Fixes
- Fix newlines not being handled in comments with a Doxygen tag. #5741
- Fix
files.excludenot working for directories external to the active workspace folder. #6877 - Fix a bug with vcFormat inserting additional spaces between
}andelse. #7731 - Fix string elements to render as code in the IntelliSense configuration UI. PR #8271
- Fix IntelliSense process crash on AMD Ryzen 3000 series processors without updated drivers. #8312
- Fix bug with
wmicnot being recognized during Windows attach debugging. #8328 - Fix Go to Type Definition on pointer types. #8337
- Fix MS extensions not being enabled by default for Cygwin. #8353
- Fix a "Cannot read property" error during deactivation if the language service wasn't fully activated. #8354
- Fix an issue in which the language id for header files were not updated to match the source file of its TU. #8381
- Fix parsing of
bit_castwith gcc mode IntelliSense. #8434 - Fix an issue in which multiple (potentially different) diagnostics were delivered for headers shared by multiple TUs.
Other
Known Issues
- Inactive regions don't appear as inactive. #8478
- CUDA support stopped working. #8481
- If code analysis is running, saving of header files can fail if clang-tidy is using the header file from a TU that is different from the "default" one chosen by IntelliSense. The workaround is to click the flame icon and choose "Cancel clang-tidy" (or if that fails, kill the clang-tidy processes). #8473
C_Cpp.codeAnalysis.maxConcurrentThreadsincorrectly has a max of half ofC_Cpp.maxConcurrentThreads(instead of just using that as the default). #8471- There are some other "known" issues with the "code analysis" feature that are being tracked internally.
1.7.1
Instructions
To use the "offline" .vsix (that doesn't download OS-based dependencies on extension activation), download the .vsix that matches your OS and run the "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.60.0 or later.
Changes
Bug Fixes
- Fix an extension crash that occurred on activation while a workspace is open with no folders in it. #8280
- Fix an issue in which configuration defaults were not properly applied. #8298
Known Issues
- None so far.
1.7.0
Instructions
To use the "offline" .vsix (that doesn't download OS-based dependencies on extension activation), download the .vsix that matches your OS and run the "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.60.0 or later.
Changes
New Features
- Add a command to restart IntelliSense for a specific file. #3727
- Add support for macOS app bundles #6726
- Add support for Go To / Peek Type Definition. #7999
Enhancements
- Detect IntelliSenseMode target architecture for
cl.exebased on its path. #8044 - In generated build tasks, add a compiler arg to cause color to be displayed in gcc/clang output in terminal. PR #8165
- Add new configuration
mergeConfigurationsthat enables include paths, defines, and forced includes from c_cpp_properties.json to be merged with those provided by a configuration provider.- Thomas Willson (@willson556) PR #8174
Bug Fixes
- Fix an issue with signature help for overloaded constructors. #1664
- Add markdown to settings descriptions. #4544
- Fix an IntelliSense process crash. #5584, #8110
- Fix an issue with incorrect E0513 and E0167 IntelliSense errors. #6338
- Fix issue with IntelliSense for anonymous members. #6412
- Fix an issue with incorrect "no suitable user-defined conversion" errors. #6721
- Fix some issues with punctuation in setting descriptions. #6870
- Add descriptions for setting enum values. #7358
- Add support for
${execPath}and${pathSeparator}inc_cpp_properties.json. #7753 - Move the scope of document symbols from the name (on the left) to the details (on the right). #7785
- Fix an issue with config validation of Force Include values. #7822
- Fix an issue related to arg parsing in build tasks. #7891
- Add a check when cppbuild task is used when the active file is not a source file. #7892
- Fix a cpptools crash #8055
- Fix issue "LogPoint stopped working v1.6.0". #8065
- Fix issue "Debugger won't read/write from/to stdio". #8075
- Fix an issue with VC 14.0 headers not being found. #8078
- Fix an issue with CUDA support with
compile_commands.json. #8091 - Fix an issue with
/kernelarg tocl.exefor C files. #8158 - Fix an issue where inactive regions no longer dimmed after switching between open files. #8206
Known Issues
- None so far.
1.7.0-insiders2
Instructions
To use the "offline" .vsix (that doesn't download OS-based dependencies on extension activation), download the .vsix that matches your OS and run the "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.60.0 or later.
Changes
Enhancements
- Detect IntelliSenseMode target architecture for
cl.exebased on its path. #8044
Bug Fixes
- Reduce required version of glibc to 2.17 on Linux x64 systems. #8192
Known Issues
- None so far.
1.7.0-insiders
Instructions
To use the "offline" .vsix (that doesn't download OS-based dependencies on extension activation), download the .vsix that matches your OS and run the "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.60.0 or later.
Changes
New Features
- Add a command to restart IntelliSense for a specific file. #3727
- Add support for macOS app bundles #6726
- Add support for Go To / Peek Type Definition. #7999
Enhancements
- In generated build tasks, add a compiler arg to cause color to be displayed in gcc/clang output in terminal. PR #8165
Bug Fixes
- Fix an issue with signature help for overloaded constructors. #1664
- Add markdown to settings descriptions. #4544
- Fix an IntelliSense process crash. #5584, #8110
- Fix an issue with incorrect E0513 and E0167 IntelliSense errors. #6338
- Fix issue with IntelliSense for anonymous members. #6412
- Fix an issue with incorrect "no suitable user-defined conversion" errors. #6721
- Fix some issues with punctuation in setting descriptions. #6870
- Add descriptions for setting enum values. #7358
- Add support for
${execPath}and${pathSeparator}inc_cpp_properties.json. #7753 - Move the scope of document symbols from the name (on the left) to the details (on the right). #7785
- Fix an issue with config validation of Force Include values. #7822
- Fix an issue related to arg parsing in build tasks. #7891
- Add a check when cppbuild task is used when the active file is not a source file. #7892
- Fix a cpptools crash. #8055
- Fix issue "LogPoint stopped working v1.6.0". #8065
- Fix issue "Debugger won't read/write from/to stdio". #8075
- Fix an issue with VC 14.0 headers not being found. #8078
- Fix an issue with CUDA support with
compile_commands.json. #8091 - Fix an issue with
/kernelarg tocl.exefor C files. #8158
Known Issues
- None so far.
1.6.0
Instructions
To use the "offline" .vsix (that doesn't download OS-based dependencies on extension activation), download the .vsix that matches your OS and run the "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.58.0 or later.
Changes
New Feature
- Added support for standard
.editorconfigentries when using vcFormat. #7920 - Debug Step Granularity for cppdbg MIEngine#1169
- Thank you for the contribution @Trass3r
- InstructionBreakpoints for cppdbg MIEgnine#1192
Enhancements
- Debugger now runs on .NET 5 #7858
- When using the
Defaultsetting forC_Cpp.formatting, vcFormat will now be selected if a.editorconfigfile is found with vcFormat entries and no.clang-formatfile was found with nearer proximity to the source file. #7929
Bug Fixes
- Fix incorrect sizeof for packed structs (gcc/clang) #5267
- Fix designated initializers not working at file scope. #6316
- Fix an IntelliSense crash on template code. #7349
- Rank existence of a custom configuration higher than filename similarity and path proximity, when choosing a TU source for a header #7396
- Fix an IntelliSense crash when the display language is set to Italian. #7685
- Enable the C++ status bar items to be selectively disabled. #7700
- Fix an issue causing incorrect color selection for semantic tokens. #7773
- Fix some cl.exe and clang installations not being detected. #7767 #7795 #7800
- Fix an issue with recursive includes not found. #7783
- Fix an issue with code folding of single-line blocks. #7809
- Fix a typo in a localized string. #7823
- Add open file parsing status when hovering over the database icon. PR #7831
- Fix an issue with IntelliSense flame icon getting stuck on. #7838
- Fix an issue with character position after include completion. #7856
- Fix wrong version of clang-format being used in multi-root workspaces. #7870
- Fix issue with setting of MS extensions when
-fms-extensionsis used. #7886 - Fix an issue with support detection on Android. #7906
- Fix a bug with handling of
"C_Cpp.vcFormat.newLine.beforeOpenBrace.block": "newLine". #7926 - Fix Disassembly view is blank on Linux #7960
- Fix an issue with cppdbg debugging on Windows x64. #7971
- Fix an issue with VS
<execution>header causing IntelliSense process crash. #7972 - Fix insiders update install loop for remote scenarios. #8000
- Fix MacOS unable to use external terminal to debug #8008
Known Issues
- None so far.
1.6.0-insiders3
Instructions
To use the "offline" .vsix (that doesn't download OS-based dependencies on extension activation), download the .vsix that matches your OS and run the "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.58.0 or later.
Changes
Bug Fixes
- Fix insiders update install loop for remote scenarios. #8000
Known Issues
- None so far.
1.6.0-insiders2
Instructions
To use the "offline" .vsix (that doesn't download OS-based dependencies on extension activation), download the .vsix that matches your OS and run the "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.58.0 or later.
Changes
Bug Fixes
- Fix issues with overlapping code folding ranges. #7809
- Fix an issue with cppdbg debugging on Windows x64. #7971
- Fix an issue with VS
<execution>header causing IntelliSense process crash. #7972
Known Issues
- An insiders update install loop with remote sessions #8000