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
add support for a new command: cpptools.setActiveConfigName #4893
add support for a new command: cpptools.setActiveConfigName #4893
Conversation
Command allows other extensions to control activeConfigName
Could you add the command to That would be for the title. Our docs are here, but I'm not sure if we have verbose doc for commands. (@sean-mcmanus Do we have doc for commands?) |
We never added any docs for the "cpptools.activeConfigName" command either. Maybe we could just add an issue to track that. |
@Colengms , I encounted these problems while trying to implement your suggestion:
After some thinking can suggest these alternatives:
|
I don't think package.json needs to be changed to add the command there -- those are just for commands that appear in the command prompt or UI. |
relates to #4870
New command allows other extensions to control activeConfigName.
Can be used like in a code snippet below:
I can also update the documentation but need help to figure out an appropriate place for this.