Skip to content

Releases: microsoft/vscode-cpptools

1.3.0

13 Apr 23:21
52f7999

Choose a tag to compare

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.53.0 or later.

Changes

New Features

  • Add language service support for CUDA.
  • Add highlighting of matching conditional preprocessor statements. #2565
  • Add commands for navigating to matching preprocessor directives in conditional groups. #4779
  • Add native language service binaries for ARM64 Mac. #6595

Enhancements

  • Add parentheses to function calls when C_Cpp.autocompleteAddParentheses is true. #882
  • Add @RetVal support to the simplified view of doc comments. #6816
  • Add auto-closing of include completion brackets. #7054
  • Add support for nodeAddonIncludes with Yarn PnP.
  • Add a C_Cpp.files.exclude setting, which is identical to files.exclude except items aren't excluded from the Explorer view. PR #7285

Bug Fixes

  • Display integer values for char and unsigned char on hover instead of character symbols. #1552
  • Fix directory iteration to check files.exclude and symlinks and use less memory. #3123, #4206, #6864
  • Fix an issue with stale IntelliSense due to moving or renaming header files. #3849
  • Fix go to definition on large macros. #4306
  • Fix a spurious asterisk being inserted on a new line if the previous line starts with an asterisk. #5733
  • Fix bug with placement new on Windows with gcc mode. #6246
  • Fix size_t and placement new squiggles with clang on Windows. #6573, #7106
  • Fix an incorrect IntelliSense error squiggle when assigning to std::variant in clang mode. #6623
  • Fix incorrect squiggle with range-v3 library. #6639
  • Fix incorrect squiggle with auto parameters. #6714
  • Fix (reimplement) nested document symbols. #6830, #7023, #7024
  • Fix detection of bitness for compilers targeting esp32. #7034
  • Fix include completion not working after creating a new header with a non-standard extension until a reload is done. #6987, #7061
  • Fix endless CPU/memory usage in cpptools-srv when certain templated type aliases are used. #7085
  • Fix "No symbols found" sometimes occurring when a document first opens. #7103
  • Fix vcFormat formatting after typing brackets and a newline. #7125
  • Fix a performance bug after formatting a document. #7159
  • Fix random crashes of cpptools-srv during shutdown. #7161
  • Fix a bug with relative "." paths in compile commands. #7221
  • Fix configuration issues with Unreal Engine projects. #7222
  • Fix bug when ${workspaceFolder} is used in compileCommands. #7241
  • Fix field requirements for custom configurations. PR #7295
  • Fix integrity hash checking of downloaded packages for the extension. PR #7300
  • Fix a bug preventing successful validation and receipt of browse configurations from custom configuration providers. PR# 7131
  • Fix a potential crash when editing at the end of a document.
  • Fix "Configure Task" selection to show root folder names for multiroot workspace PR #7315

Known Issues

  • The extension won't activate on 32-bit Windows. #7368

1.3.0-insiders5

09 Apr 01:31
143207a

Choose a tag to compare

1.3.0-insiders5 Pre-release
Pre-release

Instructions

Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix ("extensions.autoUpdate" needs to be true too). Or if that doesn't work, manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code (don't double click the vsix).

Requirements

  • VS Code 1.53.0 or later.

Bug Fixes

  • Display integer values for char and unsigned char on hover instead of character symbols. #1552
  • Fix a crash (and other bugs) caused by resolving symlinks when processing recursive includes. #7306
  • Fix bug preventing successful validation and receipt of browse configurations from custom configuration providers. PR# 7131
  • Fix a potential crash on shutdown and when editing at the end of a document.

1.3.0-insiders4

07 Apr 03:50
0edf6c3

Choose a tag to compare

1.3.0-insiders4 Pre-release
Pre-release

Instructions

Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix ("extensions.autoUpdate" needs to be true too). Or if that doesn't work, manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code (don't double click the vsix).

Requirements

  • VS Code 1.53.0 or later.

New Features

  • Add native language service binaries for ARM64 Mac. #6595

Enhancements

  • Add auto-closing of include completion brackets. #7054
  • Add a C_Cpp.files.exclude setting, which is identical to files.exclude except items aren't excluded from the Explorer view. PR #7285

Bug Fixes

  • Fix directory iteration to check files.exclude and symlinks and use less memory. #3123, #4206, #6864
  • Fix bug with placement new on Windows with gcc mode. #6246
  • Fix GoToNextDirectiveInGroup command for multiroot. #7283
  • Fix field requirements for custom configurations. PR #7295
  • Fix integrity hash checking of downloaded packages for the extension. PR #7300

1.3.0-insiders3

01 Apr 22:23
33eb2f6

Choose a tag to compare

1.3.0-insiders3 Pre-release
Pre-release

Instructions

Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix ("extensions.autoUpdate" needs to be true too). Or if that doesn't work, manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code (don't double click the vsix).

Requirements

  • VS Code 1.53.0 or later.

Changes

New Features

  • Add commands for navigating to matching preprocessor directives in conditional groups. #7256

Bug Fixes

  • Fix detection of bitness for compilers targeting esp32. #7034
  • Fix comment continuations. PR #7238
  • Fix bug when ${workspaceFolder} is used in compileCommands. #7241

1.3.0-insiders2

25 Mar 23:42
673a68d

Choose a tag to compare

1.3.0-insiders2 Pre-release
Pre-release

Instructions

Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix ("extensions.autoUpdate" needs to be true too). Or if that doesn't work, manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code (don't double click the vsix).

Requirements

  • VS Code 1.53.0 or later.

Changes

New Features

  • Add highlighting of matching conditional preprocessor statements. #2565

Bug Fixes

  • Fix a spurious asterisk being inserted on a new line if the previous line starts with an asterisk. #5733
  • Fix random crashes of cpptools-srv during shutdown. #7161
  • Change C_Cpp.autocompleteAddParentheses to be false by default. #7199
  • Fix auto add parentheses incorrectly occurring with template methods. #7203
  • Fix auto adding parentheses incorrectly occurring with type names. #7209
  • Fix a bug with relative "." paths in compile commands. #7221
  • Fix configuration issues with Unreal Engine projects. #7222

Known Issues

  • Comment continuations don't work after the 2nd line. PR #7238

1.3.0-insiders

18 Mar 20:23
d942d64

Choose a tag to compare

1.3.0-insiders Pre-release
Pre-release

Instructions

Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix ("extensions.autoUpdate" needs to be true too). Or if that doesn't work, manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code (don't double click the vsix).

Requirements

  • VS Code 1.52.0 or later.

Changes

Enhancements

  • Add parentheses to function calls with autocomplete. #882
  • Add support for nodeAddonIncludes with Yarn PnP.

Bug Fixes

  • Fix an issue with stale IntelliSense due to moving or renaming header files. #3849
  • Fix go to definition on large macros. #4306
  • Fix size_t and placement new squiggles with clang on Windows. #6573, #7106
  • Fix an incorrect IntelliSense error squiggle when assigning to std::variant in clang mode. #6623
  • Fix incorrect squiggle with range-v3 library. #6639
  • Fix incorrect squiggle with auto parameters. #6714
  • Add @RetVal support to the simplified view of doc comments. #6816
  • Fix (reimplement) nested document symbols. #6830, #7023, #7024
  • Fix include completion not working after creating a new header with a non-standard extension until a reload is done. #6987, #7061
  • Fix endless CPU/memory usage in cpptools-srv when certain templated type aliases are used. #7085
  • Fix "No symbols found" sometimes occurring when a document first opens. #7103
  • Fix vcFormat formatting after typing brackets and a newline. #7125
  • Fix a performance bug after formatting a document. #7159

Known Issues

  • Auto add parentheses incorrectly occurs with functions are referenced by not directly invoked (e.g. in stream manipulators). #7199
  • Auto add parentheses incorrectly occurs with template methods. #7203
  • Auto adding parentheses incorrectly occurs with type names. #7209

1.2.2

26 Feb 00:24
3d49cfa

Choose a tag to compare

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.52.0 or later.

Changes

Bug Fixes

  • Fix IntelliSense errors with variable length arrays with C Clang mode. #6500
  • Fix for random IntelliSense communication failures on Mac. #6809, #6958
  • Fix an extension activation failure when a non-existent folder exists in the workspace. #6981
  • Fix infinite loops during document symbol processing. #6988, #7012, #7022, #7025
  • Fix a regression with handling of -isysroot/--sysroot compiler arguments. #6992
  • Fix issue querying certain compilers, including armclang and arm-poky-linux-musleabi-gcc. 7021
  • Fix invalid "console" property when generating a "cppdbg" task. #7048

Known Issues

  • Nested symbols in the Outline view and breadcrumbs are incorrect. #6830
  • size_t and operator new generate IntelliSense errors with clang/gcc on Windows. #7016

1.2.2-insiders2

19 Feb 06:24
32c1d6b

Choose a tag to compare

1.2.2-insiders2 Pre-release
Pre-release

Instructions

Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix ("extensions.autoUpdate" needs to be true too). Or if that doesn't work, manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code (don't double click the vsix).

Requirements

  • VS Code 1.52.0 or later.

Changes

Bug Fixes

  • Fix an extension activation failure when a non-existent folder exists in the workspace. #6981
  • Fix a regression with handling of -isysroot/--sysroot compiler arguments. #6992

Known Issues

  • None.

1.2.2-insiders

18 Feb 01:18
ebd5314

Choose a tag to compare

1.2.2-insiders Pre-release
Pre-release

Instructions

Set the "C_Cpp.updateChannel" setting to "Insiders" to auto-install the latest Insiders vsix ("extensions.autoUpdate" needs to be true too). Or if that doesn't work, manually download the vsix that matches the target OS and run the "Install from VSIX" command in VS Code (don't double click the vsix).

Requirements

  • VS Code 1.52.0 or later.

Changes

Bug Fixes

  • Fix for random IntelliSense communication failures on Mac. Potentially fixes: #6809, #6958
  • Potential fix for an "Unable to start the C/C++ language server" error. #6981

Known Issues

  • None.

1.2.1

17 Feb 01:01
8401086

Choose a tag to compare

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.52.0 or later.

Changes

Bug Fixes

  • Fix Switch Header/Source in two cases when symlinks are in the path. #6855
  • Fix clang-format FixNamespaceComments default. #6894
  • Fix an issue with querying certain compilers for system defines and system includes #6898
  • Fix an issue preventing detection of default target and default language standard of Cygwin and WSL compilers. #6902
  • Fix an issue with detection of Apple Clang. #6916
  • Fix endless memory usage (or a crash) with a certain code. #6940
  • Fix "format after newline" with vcFormat. #6942
  • Fix compiler querying with -Xclang and -include-pch arguments. #6944
  • Switch to the signed LLDB-MI on Mac 10.14 or newer with the online VSIX. #6945