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

pass optional parameter to C_Cpp.ConfigurationSelect #12993

Merged
merged 3 commits into from
Dec 3, 2024

Conversation

adrianstephens
Copy link
Contributor

I would like to be able to switch the cpp configuration from within my extension, and I couldn't find an existing way to do that programmatically.

This change just adds an optional string parameter to the existing C_Cpp.ConfigurationSelect command which bypasses the quickpick if defined.

This is sort of a 'better to ask for forgiveness than permission' thing, but with pull requests I can't do any harm!

@adrianstephens adrianstephens requested a review from a team as a code owner November 23, 2024 22:10
@sean-mcmanus sean-mcmanus merged commit 9efde54 into microsoft:main Dec 3, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants