1.18.0
Pre-release
Pre-release
sean-mcmanus
released this
13 Oct 10:50
·
339 commits
to insiders
since this release
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 toenabled
. Also, 'Extract to Free Function' is disabled.
- Currently, it's only enabled when
- 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 acompile_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
andclang-cpp
preprocessors from the list of detectable compilers.