Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only set isUserPreset to true if it's defined in a user presets file #4081

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gcampbell-msft
Copy link
Collaborator

@gcampbell-msft gcampbell-msft commented Sep 18, 2024

Fixes #4059.

We were not showing presets as being available to select because we are determining that the preset is a user preset, when it really isn't. This is due to the fact that we were incorrectly setting isUserPreset, we should check which file the configure preset was defined in.

Test vsix here:
cmake-tools.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CMakePresets.json can't inherit from preset in CMakeUserPresets.json
1 participant