1.19.49
1.19.49
Features:
- Add setting
cmake.useVsDeveloperEnvironment
to allow for more user control on when the Visual Studio Developer Enviornment is attempted to be added to the CMake Presets environment. #3892
Improvements:
- Add
Unspecified
option for selecting a kit variant to allow CMake itself to select the build type. #3821 - Skip loading variants when using CMakePresets. #3300
- Resolve diagnostics files relative to workspace and build directory, fixes #1401 @fargies
- Add setting to only show the cmake log on target failure. #3785 @stepeos
- Preset expansion occurs on
CMakePresets.json
orCMakeUserPresets.json
save, and if there are no errors the expanded presets are cached. The VS Developer Environment will only be applied to a preset if it is selected. Expansion errors will show in the problems panel and preset files with errors will be invalid, and any presets they contain cannot be used. #3905 - Remove pop-ups asking to configure, default
cmake.configureOnOpen
totrue
. #3967
Bug Fixes:
- Attempt to fix stringifying the extension context. #3797
- Fix issue where
cmake.preferredGenerators
wasn't falling back to the next entry when the first entry didn't exist. #2709 - Potential fix for attempting to load a non-variants file as a variants file and throwing a parse exception. #3727
- Fix issue where
cmakeUserPresets.json
not showing up in project outline. #3832 - Fix edge case where parsing tests fails when additional output is printed before tests json. #3750
- Fix issue where
Configure with CMake Debugger
fails on restart because the previously used pipe to CMake Debugger is no longer available. #3582 - Fix custom kit PATH being overriden. #3849
- Fix debug variables being overriden. #3806
- Fix issue in Quick Start where a C file was generated in place of a C++ file. #3856
- Fix custom build tasks not showing up. #3622
- Fix the bug where if a relative path specified for
installDir
, it is not calculated relative to the source directory, which is how it should be according to the CMakeinstallDir
docs here. #3871 - Fix issue with CMakeLists.txt depth search. #3901
- Fix localized file path for schema files. #3872
- Disable annoy and invalid extenion message about fix windows sdk for MSVC 2022. #3837
- Fix re-using a terminal for launching even when the environment has changed. #3478
- Fix our keybindings for debug and run without debugging to better match VS Code. #3507
- Allow success recovery in the configure precondition handler. #3554
- Prevent second configure after
QuickStart
if theautomaticReconfigure
setting is enabled. #3910 - Set usepresets context after manually creating a CMakePresets.json/CMakeUserPresets.json or using QuickStart to create it. #3854
- Only do special handling of
~
for code model reply path on linux. #3957 - Fix issues with expanding unnecessary environment variables and incorrectly saving preset environments to cache. Also fixes expansion error reporting issue with not checking for an invalid Configure preset in other types of presets. #3961 & #1841