1.13.6
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 the ability to generate definitions from declarations and vice versa. #664
- Add SSH Target Selector. PR #9760
- Add rsync support in deploySteps. PR #9808
Enhancements
- Add
C_Cpp.caseSensitiveFileSupport
for enabling case sensitive file handling on Windows. #1994 - Add sections to settings. #8237
- Make Doxygen hover comments customizable with
C_Cpp.doxygen.sectionTags
. #8525 - Add better build and debug task handling for when a compiler or debugger doesn't exist. #8836
- Delay applying
c_cpp_properties.json
changes until after a save. #9185 - Create directories on Linux/Mac with 755 instead of 777 permissions. #9670
- Check for MSVC environment variables for configuring IntelliSense. #9745
- Enable the inlay hint settings to be set per-workspace folder. #9782
- Add a
C_Cpp.hover
setting to enable disabling hover results. #9793 - Update to clang-format and clang-tidy 15.0.3. #9816
- Enable hiding the SSH Targets view with the
C_Cpp.sshTargetsView
setting. #9836 - Change "Enabled", "Disabled", "Default" settings to camelCase. PR #9862
- Add support for C++ modules IFC version 0.42. #9884
- Add SSH terminal for targets. PR #9895
- Make array settings give a warning for duplicates. PR #9959
- Add "iar" and "armcc5" problem matchers. #10054
- Pass
--Wno-error=unknown
to clang-format (12 or newer) to avoid failing on unsupported settings. #10072 - Add support for
/cygdrive
paths returned by some versions of Cygwin. #10112 - Switch from RapidJSON to VS's internal JSON parser.
Bug Fixes
- Fix "final" breaking formatting. #6638
- Fix incorrect Outline view with C++20 namespace ::inline syntax. #7216
- Fix updates to compile_commands.json not being handled if specified using a relative path. #7610
- Fix variadic macros not expanding correctly. #8178
- Fix the
editor.parameterHints.enabled
setting not being used whenC_Cpp.autocompleteAddParentheses
istrue
. #9314 - Fix IntelliSense bug "A result type of
__builtin_choose_expr
that returns a pointer to a function is not correctly inferred in clang mode". #9368 - Fix some invalid macro redefinition errors. #9435
- Fix wordexp sometimes getting stuck on Mac (and Linux). #9688
- Fix ctrl+space completion for Doxygen tags. #9732
- Fix the position of inlay parameter hints when using at or operator[]. #9741
- Fix
-std=
being passed to clang-tidy in certain cases . #9776 - Fix
${workspaceFolder}
not being resolved inC_Cpp.clang_format_style
. #9786 - Fix debugger visualization for ArrayItem elements more than 1000. #9801
- Fix extra comma in the generated the
(gdb) attach
configuration inlaunch.json
. #9818 - Fix IntelliSense crash with range-v3
ranges::views::addressof
. #9870 - Fix slow compiler querying. #9882
- Handle
-fexperimental-library
clang argument. #9888 - Fix compiler querying with multiple -arch. #9894
- Fix code analysis errors related to SSE being enabled when gcc is used. #9898
- Fix issue with parsing SSH configurations that could cause the extension to fail to activate. #9933
- Fix inlay hints showing "type" for lambdas in certain cases. #9971
- Resolve variables for
C_Cpp.codeAnalysis.clangTidy.args
andheaderFilter
. #9981, #9996 - Fix some translations. #9986, #10011, #10012, #10013
- Fix "Step Over past a logpoint stops at the wrong place". #9995
- Disable the "Generate Doxygen Comment" context menu when IntelliSense is disabled. PR #10007
- Fix Doxygen code action from appearing on a function that already has a
*/
comment. #10009 - Fix clang-tidy and clang-format not working on CentOS7 and other Linux OS's without glibc 2.27 or greater. #10019
- Fix various bugs with the
C_Cpp.codeAnalysis.clangTidy.headerFilter
setting. #10023 - Fix Doxygen comment generation when there's a selection. #10028
- Fix issue that could cause document corruption. #10035
- Fixed crash on Linux/Mac when a full command line is specified in
compilerPath
containing invalid arguments. PR #10070 - Fix random "Failed to spawn IntelliSense process: 65520" on Mac. #10091
- Fix "Don't hardcode path to kill in UnixUtilities". #10124
- Ellie Hermaszewska (@expipiplus1) PR #1373
- Fix formatting when clang-format 11 or earlier is used (and another issue for version 8 or earlier). #10178
- Fix "Natvis: are multi-dimensional arrays supported in gdb natvis?". MIEngine#980
- Fix include completion sorting extensionless headers (e.g. string) after headers with an extension (e.g. string.h).
- Fix extensionHost logging an error related to onWillSaveTextDocument whenever a save is done.
- Fix random "Failed to spawn IntelliSense process" on Mac.
- Fix a deadlock when IntelliSense errors are updating.
- Fix redundant rescan when adding a workspace folder.
Removed Feature
- Removed explicit WSL support in favor of using the WSL extension. PR #10066
Known Issues
- Changes to the enclosing type aren't taken into account after Create Declaration / Definition is used once. #10162