Skip to content

1.29.2

Latest

Choose a tag to compare

@sean-mcmanus sean-mcmanus released this 03 Dec 23:11
8de8679

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

  • Enable setting the VS developer environment without running VS Code from the developer command prompt. #4742

Enhancements

  • Add built-in file associations for C++ extensionless system headers and set C_Cpp.autoAddFileAssociations to false by default. #4077
  • Add IntelliSense support for c23 enums with an underlying type. #13675

Bug Fixes

  • Fix 'Find All References' and 'Rename' on #define macro definitions. #6194
  • Fix anonymous enums not working in gcc/clang modes. #10436
  • Fix Doxygen comments at the end of a function. #13725
  • Fix mac framework search path detection to include paths passed in the includePath from a configuration provider, and fix omission of unpopulated Mac framework paths. #13993
  • Fix formatting with clang-tidy randomly getting stuck on Windows (on a call to GetOverlappedResult). #14025
  • Fix IntelliSense with MSVC mode C++23 deduced type construction with auto. #14041
  • Fix code analysis re-running automatically after a settings change when diagnostics already exist if it was manually instead of automatically invoked.
  • Reduce the memory usage in a couple cases to reduce the chance of a bad_alloc in cpptools.
  • Update clang-format and clang-tidy from 21.1.3 to 21.1.4 (fixes some formatting bugs).
  • Fix the handling of the cl.exe /external:I argument for IntelliSense configuration.
  • Fix a case where a large file could cause a bad_alloc in cpptools-srv on Windows.
  • Update the default compiler search to include newer versions of clang/gcc.
  • Fix a potential memory corruption crash of cpptools-srv (related to PCH).
  • Fix a crash in detect_encoding.