1.9.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
New Features
- Add debugger support for Apple M1 (osx-arm64). #7035
- Resolves issue "[Big Sur M1] ERROR: Unable to start debugging. Unexpected LLDB output from command "-exec-run". process exited with status -1 (attach failed ((os/kern) invalid argument))". #6779
- Add a build and debug button when
C_Cpp.debugShortcut
istrue
. #7497- The "Build and Debug Active File" command has been split into "Debug C++ File" and "Run C++ File", and it has been removed from the context menu.
- Add Alpine Linux arm64 support (VSIX).
- Add x64 debugger for CppVsdbg on Windows x64.
Enhancements
- Reserved identifiers with characters that match typed characters in the correct order but not contiguously are initially filtered in the auto-completion list. Doing a
ctrl
+space
in the same location will show all auto-complete suggestions. #4939 - Add
dotConfig
property to IntelliSense Configuration (c_cpp_properties.json) to use .config file created by Kconfig system.- Matheus Castello (@microhobby) PR #7845
- Rework how cancelation is processed for semantic tokens and folding operations. PR #8739
- Make SwitchHeaderSource use the
workbench.editor.revealIfOpen
setting.- Joel Smith (@joelmsmith) PR #8857
- Add tag parser error logging. #8907
- Add error and warning messages if the VSIX for an incompatible or mismatching platform or architecture is installed. #8908
- Add a "More Info" option when an incompatible VSIX is encountered. PR #8920
- Add
;
tobreak
andcontinue
completion keywords. #8932 - Prevent stripping of format specifiers from -exec commands.
- Gareth Rees (@gareth-rees) MIEngine#1277
- Improve messages for unknown breakpoints and watchpoints.
- Gareth Rees (@gareth-rees) MIEngine#1282
Bug Fixes
- Fix some IntelliSense parsing bugs. #5117
- Fix IntelliSense process crashes caused by a stack overflow on Mac. #7215, #8653
- Fix exclusions not applying during tag parsing of non-recursive dependent includes. #8702
- Fix issue that could cause an infinite loop when clicking on a preprocessor conditional directive. #8717
- Fix excludes applying to cases it should not when running code analysis. #8724
- Fix a crash when visualizing local variables for Microsoft Edge (msedge.exe) #8738
- Fix some system defines being incorrectly removed when running code analysis. #8740
- Prevent an error from being logged due to custom configuration processing prior to the provider being ready. #8752
- Fix incorrect crash recovery with multiroot. #8762
- Fix random compiler query, clang-tidy, or clang-format failure on Windows. #8764
- Fix invoking commands before cpptools is activated. #8785
- Fix a bug on Windows with semantic tokens updating. #8799
- Fix tag parser failure due to missing DLL dependencies on Windows. #8851
- Fix semantic tokens getting cleared for all other files in a TU after editing a file. #8867
- Fix a bug and typos with cppbuild task providers.
- Fix an issue that could cause the extension to fail to start up properly. PR #8906
- Fix handling of
-B
with compiler querying. #8962 - Fix incorrect "Running clang-tidy" status indications with multi-root workspaces. #8964
- Fix a crash during shutdown and potential database resetting due to shutdown being aborted too soon. PR #8969
- Fix an issue that could cause the active file to not be configured by a configuration provider when custom configurations are reset. #8974
- Fix detection of Visual Studio 2015. #8975
- Fix mingw clang being detected as gcc. #9024
- Fix a random crash on file open.
- Fix some IntelliSense crashes.
- Fix some IntelliSense parsing bugs.
- Fix a bug with IntelliSense updating not working if a file was closed and reopened while its TU was processing an update.
- Fix a potential heap corruption when
files.associations
are changed. - Update translated text.
Documentation
- Clarify how to get binaries when debugging the source from GitHub.
- Hamir Mahal (@hamirmahal) PR #8788
Note
- This release is identical to 1.9.6 (pre-release), other than being built for the "release" channel and an updated changelog.