Skip to content

1.18.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@sean-mcmanus sean-mcmanus released this 13 Oct 10:50
· 339 commits to insiders since this release
43aad3f

Instructions

Install it via using the Extensions view in VS Code and choosing the option "Switch to Pre-Release Version" or download a vsix that matches your OS from 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 an 'Extract to Function' (or Member Function) code action after selecting code. #1162
    • Currently, it's only enabled when C_Cpp.experimentFeatures is set to enabled. Also, 'Extract to Free Function' is disabled.
  • Add the option to install a compiler, accessible through the walkthrough. PR #11286

Enhancements

  • Add setting C_Cpp.refactoring.includeHeader to customize whether or not to add an include header when doing a refactoring code action. #11271
  • Update clang-format and clang-tidy to 17.0.2. PR #11491

Bug Fixes

  • Fix the debugger truncating long strings when inspecting values. #1786
  • Switch to using XDG_CACHE_HOME on Linux for the default database path. #10191
  • Fix incorrect status and commands with the tag parsing language status UI. #10749
  • Fix an empty ("") compilerPath in a base configuration overriding the compiler specified by a custom configuration provider or a compile_commands.json. #11373
  • Fix a startup crash when reading values from JSON (settings) that are not the type expected. #11375
  • Fix a crash detected by crash telemetry. #11401
  • Fix handling of an undefined env variable on Linux and macOS. #11447
  • Fix multiple issues with querying nvcc (CUDA) as a compiler. #11454
  • Fix an issue that could cause a C language standard to be applied to a C++ file, or vice versa.
  • Remove cpp and clang-cpp preprocessors from the list of detectable compilers.