Release 1.35.2 · microsoft/vscode-cpptools · GitHub
Skip to content

1.35.2

Pre-release
Pre-release

Choose a tag to compare

@sean-mcmanus sean-mcmanus released this 22 Sep 21:35
· 19 commits to insiders since this release
11e7e21

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.77.0 or later (March 2023).
  • Windows 10+ (x64, arm64), macOS 10.13+, Linux (Ubuntu 16+, etc.).
    • Debugging is not supported on CentOS 7 or RHEL 7. The last supported version was 1.22.11: #13219.
    • The last supported version for Windows 7 and 8 was 1.30.5.

Changes

New Feature

  • Dim unused local variables and parameters when editor.showUnused is enabled. #10490

Enhancements

  • Add support for formatting multiple selections with clang-format and vcFormat. #12082
  • Reduce language server memory usage in workspaces with many interconnected symbolic links.
  • Improve responsiveness when deleting source files associated with many open headers.
  • Improve #include completion performance in workspaces with many open files.

Bug Fixes

  • Fix IntelliSense handling of MSVC and clang-cl external include paths and environment variables. #14186, #14205
  • Fix missing IntelliSense definitions for additional MSVC predefined macros. #14312
  • Fix lost indentation in displayed documentation comments. #14567
  • Fix compiler queries failing to find dependencies installed alongside the compiler on Linux and macOS. #14575
  • Fix an incorrect class has more than one default constructor IntelliSense error. #14746
  • Fix the extension failing to start on Linux ARM64 because libc.so is not executable. #14779
  • Fix incorrect or missing #include completion suggestions for nonrecursive paths, frameworks, symbolic links, and extensionless files.
  • Fix compile_commands.json handling for symlinked sources, missing working-directory fields, and invalid database roots.
  • Fix stale 'Create Declaration/Definition' diagnostics after cancellation and reduce redundant diagnostic updates.
  • Fix missing IntelliSense errors for duplicate local variables, including redeclarations of function parameters.
  • Fix a language server crash when requesting #include completion with certain Unicode prefixes.
  • Fix incorrect undefined-identifier IntelliSense errors for macros using __COUNTER__ in C++20.
  • Fix recursive header lookup with duplicate include roots or .. paths through symbolic links.
  • Fix incorrect EUC-JP and GBK source decoding when multibyte characters span read buffers.
  • Fix IntelliSense using strict language modes instead of Clang's default GNU dialect.
  • Fix header lookup for long Windows paths when Windows long-path support is enabled.
  • Fix a Windows tag parser crash when a worker thread cannot be created.
  • Fix intermittent incorrect compiler architecture detection on Linux.
  • Various localization updates.
  • Update dependencies.