-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Implement VS Code support for dynamic debug configs #95835
Comments
VS Code now supports dynamic debug configs. Thus closing this. Pushed an initial version of this for the "Select and Start Debug" action. Gif attached.
I will now look into adding this into the debug dropdown. I have pushed support to also show dynamic providers in the debug dropdown. Try it out and let me know how it behaves for you. |
@isidorn to make the new folder-like entries in the quick pick really stand out, we should use either the folder icon that task is using or the new debug icon we are using for sessions in the call stack view. |
@weinand makes sense. Pushed a change |
Nice! I noticed that you've added an ellipsis too (which IMO makes sense). |
@isidorn for sake of consistency then let's remove the ellipsis from debug too. |
I would like debug to be consistent across quick pick and our debug dropdown where we also show elipses (we can not show icons so it is a good diferentiator). |
@isidorn IMO the interaction with the new "Dynamic" items in the drop down menu is rather strange: selecting them has no effect but one has to press the play button to get the quickpick. |
@weinand this was a delibarate choice to tackle two problems:
Also it is about starting debugging so it made more sense to behave like the other options which are also configurations and nothing happens once you choose them. All in all I deliberatly made it this way because I thought it will be smother. |
@roblourens @connor4312 what do you think? |
I'm not sure what you mean by this. If I have a configuration in the launch configuration, I can hit the gear to jump to it. But for dynamic configurations that isn't useful. Is there a different action you're thinking of?
Imo a good behavior would be to still select the dynamic configuration (so I can hit the play button or F5 to run it again) but automatically open the quickpick as soon as I select it. I think it's safe to assume that when a user makes a selection, especially for a dynamic configuration, they intend to start debugging as well. |
The folder icon alone signifies that there is more menu to be shown (file pickers don't show an ellipse for folders). Having both is redundant, and the ellipse does add more noise. If you really want tasks to have both though I will add it. |
please see #88230 for the detailed discussion.
The text was updated successfully, but these errors were encountered: