Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow customisation of debug toolbar (eg. additional buttons) #45116
In Flutter (a framework for developing mobile apps) we have two different types of restart during debugging:
Since stateful hot reload is awesome, we've wired that up to the Restart button on the toolbar. In the case where this fails (eg. because you modified something that makes your state invalid) we have a status bar notification and an action in the command palette for a "Full Restart".
This has been a little confusing for users - they expect to see buttons for "Hot Reload" and "Restart" on the toolbar.
It would be great if we could supply an icon/tooltip for additional buttons (and a way of positioning them between existing buttons) and have it run a custom command.
changed the title from
Aloow customisation of debug toolbar (eg. additional buttons)
Allow customisation of debug toolbar (eg. additional buttons)
Mar 6, 2018
This is a fair feature request.
So we would need to introduce a new menu id for the debug toolbar. For example
A nice thing about this is that we would be able to remove the chakra actions which do not really belong in the vscode core imho.
@isidorn Sorry, but there are no "chakra actions". The debug protocol supports reverse-back and reverse-continue and VS Code surfaces that in the UI. VS Code does not know anything about chakra (and the comment is wrong). Any debug extension can use that. So there is no way that we ever remove support for this.
Reverse continue?! That sounds bizzare!
I was actually thinking this would work by sending a