CMakeUserPresets.json - not parsed anymore in v1.19.46 #4011
Labels
bug
a bug in the product
regression
used to work and no longer does. Regressions are typically high priority
Brief Issue Summary
A completely valid CMakeUserPresets.json cannot be parsed with the currently latest pre-release.
Consider the following CMake presets configuration for the steps below:
Create a
CMakePresets.json
file with the content from before.Run the
CMake: Select Configure Preset
command.Observation: Configure Preset from file is shown as expected
Now, rename the
CMakePresets.json
file to aCMakeUserPresets.json
file.Run the
CMake: Select Configure Preset
command.Observation: Configure Preset from file is not shown anymore.
Additionally, the editor highlights an error in line 1 "Could not find configure preset 'default' in preset 'default'".
CMake Tools Diagnostics
Debug Log
Additional Information
BEFORE: content of
CMakeUserPresets.json
gets recognized and parsed inv1.18.44
when reloading the window.AFTER: content of
CMakeUserPresets.json
is not recognized and therefore not parsed inv1.19.46
when reloading the window.The text was updated successfully, but these errors were encountered: