Closed aiyolo closed 2 weeks ago
@gcampbell-msft We reproduced the issue using the following steps:
ENV:
Repro Steps:
Expected Result: Can add preset (both configure preset and build preset) for 'CMakeUserPresets.json' file.
Actual Result: preset (both configure preset and build preset) only adds to the CMakePresets.json file but not to the CMakeUserPresets.json file.
'CMake: Add Configure Preset'->'Inherit from Configure Preset':
‘CMake: Add Build Preset’->'Create from Configure Preset':
@aiyolo Does the above reproduction match the issue that you are hitting? Is it only this use case that it is happening in? Or is there more general issues?
yes, it is the issue I'm hitting, I think it's a general issue.
Possibly related to #3636
@gcampbell-msft @aiyolo @benschreiber Verified on CMake Tools v1.18.37(pre-release), this issue still repro:
Brief Issue Summary
My CMake project folder has a cmakeuserpresets.json file, but the preset(both configure preset and build preset) is not loaded by vscode-cmake-tools, so I can't use the preset defined in cmakeuserpresets.json. Is there any option to open this feature? How can use the preset defined in cmakeuserpresets.json?
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response