Skip to content

Releases: microsoft/vscode-cpptools

1.27.2

22 Aug 00:34
322b16e
Compare
Choose a tag to compare
1.27.2 Pre-release
Pre-release

Instructions

The extension can be obtained by one of the methods below:

  • Install the "C/C++" or "C/C++ Extension Pack" extension published by Microsoft from the Extensions view in VS Code.
  • Download a vsix that matches your OS from the Assets section below (and install it via the method mentioned above). The previous download methods have the vsix signatures verified by the Marketplace, but for this method, you can do the verification by downloading the matching manifest and signature.p7s file and running npx @vscode/vsce@latest verify-signature -i <.vsix> -m <.signature.manifest> -s <.signature.p7s> vscode-vsce#1044.

Requirements

  • VS Code 1.67.0 or later (April 2022).
  • Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).
    • Debugging is not supported on CentOS 7 or RHEL 7. The last supported version was 1.22.11: #13219.

Changes

Bug Fix

  • Fix a crash regression with __BASE_FILE__. #13866

1.27.1

21 Aug 00:27
49aa6d7
Compare
Choose a tag to compare
1.27.1 Pre-release
Pre-release

Instructions

The extension can be obtained by one of the methods below:

  • Install the "C/C++" or "C/C++ Extension Pack" extension published by Microsoft from the Extensions view in VS Code.
  • Download a vsix that matches your OS from the Assets section below (and install it via the method mentioned above). The previous download methods have the vsix signatures verified by the Marketplace, but for this method, you can do the verification by downloading the matching manifest and signature.p7s file and running npx @vscode/vsce@latest verify-signature -i <.vsix> -m <.signature.manifest> -s <.signature.p7s> vscode-vsce#1044.

Requirements

  • VS Code 1.67.0 or later (April 2022).
  • Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).
    • Debugging is not supported on CentOS 7 or RHEL 7. The last supported version was 1.22.11: #13219.

Changes

Bug Fixes

  • Fix the __FILE_NAME__ macro being undefined with IntelliSense when using GCC/Clang. #11164
  • Fix Doxygen generation overwriting a function signature. #13839
  • Fix a crash on Windows 7, 8, and 10 (Server 2008, 2012, and 2016). #13851
  • Fix "CMake Tools" translations. PR #13854

1.27.0

07 Aug 22:22
51615a3
Compare
Choose a tag to compare
1.27.0 Pre-release
Pre-release

Instructions

The extension can be obtained by one of the methods below:

  • Install the "C/C++" or "C/C++ Extension Pack" extension published by Microsoft from the Extensions view in VS Code.
  • Download a vsix that matches your OS from the Assets section below (and install it via the method mentioned above). The previous download methods have the vsix signatures verified by the Marketplace, but for this method, you can do the verification by downloading the matching manifest and signature.p7s file and running npx @vscode/vsce@latest verify-signature -i <.vsix> -m <.signature.manifest> -s <.signature.p7s> vscode-vsce#1044.

Requirements

  • VS Code 1.67.0 or later (April 2022).
  • Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).
    • Debugging is not supported on CentOS 7 or RHEL 7. The last supported version was 1.22.11: #13219.

Changes

Bug Fixes

  • Fix an IntelliSense crash in add_cached_tokens_to_string. #11900
  • Fix an IntelliSense crash in find_subobject_for_interpreter_address. #12464
  • Fix changes to the active field being lost in the configuration UI when navigating away. #13636
  • Fix compiler query failing on Windows if optional job-related API calls fail. #13679
  • Fix bugs with Doxygen comments. #13725, #13726, #13745
  • Fix bugs with 'Create Definition'. #13741, #13773
  • Fix IntelliSense crashes when there are duplicate constexpr template functions in a TU. #13775
  • Fix the description of debugServerPath. PR #13778
  • Remove -fmodule-mapper, -fdeps-format, and some additional unnecessary args from compiler queries. #13782
  • Fix -imacro not configuring IntelliSense correctly. #13785
  • Fix pipeTransport.quoteArgs not being handled correctly. #13791
  • Fix .txx and .tpp not being handled as C++ header files. #13808
  • Fix an error when using GitHub Copilot with VS Code older than 1.90.0. #13818
  • Fix activation failing if the c_cpp_properties.json exists but fails to be opened. #13829
  • Fix an IntelliSense bug that could cause incorrect string lengths to be reported for string literals in files that use certain file encodings.

1.26.3

25 Jun 18:57
e4f859d
Compare
Choose a tag to compare

Instructions

The extension can be obtained by one of the methods below:

  • Install the "C/C++" or "C/C++ Extension Pack" extension published by Microsoft from the Extensions view in VS Code.
  • Download a vsix that matches your OS from the Assets section below (and install it via the method mentioned above). The previous download methods have the vsix signatures verified by the Marketplace, but for this method, you can do the verification by downloading the matching manifest and signature.p7s file and running npx @vscode/vsce@latest verify-signature -i <.vsix> -m <.signature.manifest> -s <.signature.p7s> vscode-vsce#1044.

Requirements

  • VS Code 1.67.0 or later (April 2022).
  • Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).
    • Debugging is not supported on CentOS 7 or RHEL 7. The last supported version was 1.22.11: #13219.

Changes

New Feature

  • Improve the context provided for C++ Copilot suggestions.

Enhancements

  • Add support for c++26/2c, gnu++26/2c, and c++23preview configurations. #12963, #13133
  • Add more return code and error logging when compiler querying fails. #13679
  • IntelliSense parser updates.

Bug Fixes

  • Fix completion triggering from . on the last column of a multi-line comment block. #13288
  • Fix an invalid IntelliSense error with C++23 escape sequences. #13338
  • Fix switch header/source for CUDA files. #13575
  • Fix include completion adding an extra " in insert mode. #13615
  • Fix a bug with compiler querying of MinGW. #13622
  • Fix -iquote not working after -isystem. #13638
  • Minor debugger fixes. PR #13654, PR #13671
  • Fix browse.path merging with the configuration provider's browse.path with "mergeConfigurations": false. #13660
  • Fix doxygen comments with [in], [in,out], etc. attributes. #13682, #13698
  • Fix old defines accumulating after defines are changed with "mergeConfigurations": true. #13687
  • Fix changes to mergeable properties in c_cpp_properties.json not being used until a new configuration is requested with "mergeConfigurations": true. #13688
  • Update Apple clang 16.4 to LLVM clang version mappings and fix incorrect mappings for Apple clang 14.
  • Update the bundled clang-format and clang-tidy from 20.1.3 to 20.1.7 (for bug fixes).
  • Fix an IntelliSense crash when calling save_class_members.
  • Fix a tag parser crash regression.
  • Update and fix some translations.

1.26.2 (release candidate)

19 Jun 19:18
f9199c7
Compare
Choose a tag to compare
Pre-release

Instructions

The extension can be obtained by one of the methods below:

  • Install the "C/C++" or "C/C++ Extension Pack" extension published by Microsoft from the Extensions view in VS Code.
  • Download a vsix that matches your OS from the Assets section below (and install it via the method mentioned above). The previous download methods have the vsix signatures verified by the Marketplace, but for this method, you can do the verification by downloading the matching manifest and signature.p7s file and running npx @vscode/vsce@latest verify-signature -i <.vsix> -m <.signature.manifest> -s <.signature.p7s> vscode-vsce#1044.

Requirements

  • VS Code 1.67.0 or later (April 2022).
  • Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).
    • Debugging is not supported on CentOS 7 or RHEL 7. The last supported version was 1.22.11: #13219.

Changes

Enhancement

  • Add more return code and error logging when compiler querying fails. #13679

Bug Fixes

  • Fix completion triggering from . on the last column of a multi-line comment block. #13288
  • Fix -iquote not working after -isystem. #13638
  • Minor debugger fixes. PR #13654, PR #13671
  • Fix browse.path merging with the configuration provider's browse.path with "mergeConfigurations": false. #13660
  • Fix doxygen comments with [in], [in,out], etc. attributes. #13682, #13698
  • Fix old defines accumulating after defines are changed with "mergeConfigurations": true. #13687
  • Fix changes to mergeable properties in c_cpp_properties.json not being used until a new configuration is requested with "mergeConfigurations": true. #13688
  • Update the bundled clang-format and clang-tidy from 20.1.5 to 20.1.7 (for bug fixes).
  • Fix an IntelliSense crash when calling save_class_members.
  • Update and fix some translations.

1.26.1

23 May 18:34
eedc0a2
Compare
Choose a tag to compare
1.26.1 Pre-release
Pre-release

Instructions

The extension can be obtained by one of the methods below:

  • Install the "C/C++" or "C/C++ Extension Pack" extension published by Microsoft from the Extensions view in VS Code.
  • Download a vsix that matches your OS from the Assets section below (and install it via the method mentioned above). The previous download methods have the vsix signatures verified by the Marketplace, but for this method, you can do the verification by downloading the matching manifest and signature.p7s file and running npx @vscode/vsce@latest verify-signature -i <.vsix> -m <.signature.manifest> -s <.signature.p7s> vscode-vsce#1044.

Requirements

  • VS Code 1.67.0 or later (April 2022).
  • Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).
    • Debugging is not supported on CentOS 7 or RHEL 7. The last supported version was 1.22.11: #13219.

Changes

Bug Fixes

  • Fix include completion adding an extra " in insert mode. #13615
  • Fix a bug with compiler querying of MinGW. #13622
  • Fix a tag parser crash regression.

1.26.0

22 May 02:29
598411c
Compare
Choose a tag to compare
1.26.0 Pre-release
Pre-release

Instructions

The extension can be obtained by one of the methods below:

  • Install the "C/C++" or "C/C++ Extension Pack" extension published by Microsoft from the Extensions view in VS Code.
  • Download a vsix that matches your OS from the Assets section below (and install it via the method mentioned above). The previous download methods have the vsix signatures verified by the Marketplace, but for this method, you can do the verification by downloading the matching manifest and signature.p7s file and running npx @vscode/vsce@latest verify-signature -i <.vsix> -m <.signature.manifest> -s <.signature.p7s> vscode-vsce#1044.

Requirements

  • VS Code 1.67.0 or later (April 2022).
  • Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).
    • Debugging is not supported on CentOS 7 or RHEL 7. The last supported version was 1.22.11: #13219.

Changes

New Feature

  • Improve the context provided for C++ Copilot suggestions.

Enhancements

  • Add support for c++26/2c, gnu++26/2c, and c++23preview configurations. #12963, #13133
  • IntelliSense parser updates.

Bug Fixes

  • Fix an invalid IntelliSense error with C++23 escape sequences. #13338
  • Fix switch header/source for CUDA files. #13575
  • Update Apple clang 16.4 to LLVM clang version mappings and fix incorrect mappings for Apple clang 14.
  • Update the bundled clang-tidy and clang-format from 1.20.3 to 1.20.5 (for bug fixes).

1.25.3

29 Apr 03:22
97c5f14
Compare
Choose a tag to compare

Instructions

The extension can be obtained by one of the methods below:

  • Install the "C/C++" or "C/C++ Extension Pack" extension published by Microsoft from the Extensions view in VS Code.
  • Download a vsix that matches your OS from the Assets section below (and install it via the method mentioned above). The previous download methods have the vsix signatures verified by the Marketplace, but for this method, you can do the verification by downloading the matching manifest and signature.p7s file and running npx @vscode/vsce@latest verify-signature -i <.vsix> -m <.signature.manifest> -s <.signature.p7s> vscode-vsce#1044.

Requirements

  • VS Code 1.67.0 or later (April 2022).
  • Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).
    • Debugging is not supported on CentOS 7 or RHEL 7. The last supported version was 1.22.11: #13219.

Changes

Enhancements

  • Add a configuration warning message explaining why paths in quotes can't be found. #11955
  • Improve the description of the C_Cpp.copilotHover setting. PR #13461

Bug Fixes

  • Fix no error appearing in the configuration UI when an invalid compilerPath is used. #12661
  • Fix the 'Debug C/C++ File' button sometimes disappearing. #13400
  • Fix a crash in read_double. #13435
  • Fix the handling of default file associations for certain file extensions. PR #13455
  • Fix shell parsing of the arguments of a full command line in compilerPath. PR #13468
  • Fix C and CUDA files being interpreted as C++ in compile_commands.json. #13471
  • Stop automatically mapping a .C file to C++ if it's already set in files.associations. PR #13476
  • Fix issues with the recursiveIncludes properties in the configuration UI editor. PR #13498
  • Fix IntelliSense not updating after the language ID is changed, and prevent the language ID from being changed if it's set from compile_commands.json or a configuration provider.
  • Update clang-tidy and clang-format from 20.1.2 to 20.1.3 (which has some bug fixes).
  • Fix a case where language server crash messages appear after 4 minutes.
  • Fix a crash with Copilot hover.
  • Fix some translation issues.

1.25.2 (release candidate)

26 Apr 00:00
68f7e90
Compare
Choose a tag to compare
Pre-release

Instructions

The extension can be obtained by one of the methods below:

  • Install the "C/C++" or "C/C++ Extension Pack" extension published by Microsoft from the Extensions view in VS Code.
  • Download a vsix that matches your OS from the Assets section below (and install it via the method mentioned above). The previous download methods have the vsix signatures verified by the Marketplace, but for this method, you can do the verification by downloading the matching manifest and signature.p7s file and running npx @vscode/vsce@latest verify-signature -i <.vsix> -m <.signature.manifest> -s <.signature.p7s> vscode-vsce#1044.

Requirements

  • VS Code 1.67.0 or later (April 2022).
  • Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).
    • Debugging is not supported on CentOS 7 or RHEL 7. The last supported version was 1.22.11: #13219.

Changes

Bug Fixes

  • Fix a crash in read_double. #13435
  • Fix a crash with Copilot hover.

1.25.1

23 Apr 16:06
248788d
Compare
Choose a tag to compare
1.25.1 Pre-release
Pre-release

Instructions

The extension can be obtained by one of the methods below:

  • Install the "C/C++" or "C/C++ Extension Pack" extension published by Microsoft from the Extensions view in VS Code.
  • Download a vsix that matches your OS from the Assets section below (and install it via the method mentioned above). The previous download methods have the vsix signatures verified by the Marketplace, but for this method, you can do the verification by downloading the matching manifest and signature.p7s file and running npx @vscode/vsce@latest verify-signature -i <.vsix> -m <.signature.manifest> -s <.signature.p7s> vscode-vsce#1044.

Requirements

  • VS Code 1.67.0 or later (April 2022).
  • Windows 7+ (x64, arm64), macOS 10.12+, Linux (Ubuntu 16+, etc.).
    • Debugging is not supported on CentOS 7 or RHEL 7. The last supported version was 1.22.11: #13219.

Changes

Enhancement

  • Add a configuration warning message explaining why paths in quotes can't be found. #11955

Bug Fixes

  • Fix no error appearing in the configuration UI when an invalid compilerPath is used. #12661
  • Fix the 'Debug C/C++ File' button sometimes disappearing. #13400
  • Fix some cases of a tag parser crash with read_double. #13435
  • Fix issues with the recursiveIncludes properties in the configuration UI editor. PR #13498
  • Update clang-tidy and clang-format from 20.1.2 to 20.1.3 (which has some bug fixes).
  • Fix some translation issues.