Closed allanbowe closed 2 years ago
Here is an example of creating multiple values in settings.json (#7
) not sure how to make it dynamic though: https://code.visualstudio.com/api/references/contribution-points#Configuration-schema
Here is an approach for making a submenu: https://code.visualstudio.com/api/references/contribution-points#contributes.submenus
And there are further options here: https://code.visualstudio.com/api/references/contribution-points#contributes.menus
Actually, it seems that this isn't possible due to the declarative approach of VS Code extensions
https://stackoverflow.com/questions/42586589/build-dynamic-menu-in-vscode-extension
Currently the only menu item we have is the running man
We should add an additional drop down menu to the right of the running man, to allow the user to select from their list of available targets
Once a target is selected, it becomes the default target (and the value in the extension settings is updated)