I've tried to compile issues and proposals from #2513 and #9093:
Today VS Code supports two locations:
- floating on top of editor tabs (default)
- pinned to debug viewlet header (new option)
"floating" debug toolbar issues:
- floating debug toolbar can only be moved horizontally and its vertical position is not ideal
- problem: floating debug toolbar hides tabs (but only in tab mode).
- workaround: move floating debug toolbar to the left and make debug viewlet wide enough so that toolbar doesn't overlap with tabs.
"docked" debug toolbar issues:
- debug actions only available in debug viewlet
- problem: you cannot use debug buttons when debug viewlet is not active
- workaround: use F1 or keyboard shortcuts
- no debug configuration drop-down visible while debug session active
- problem: another concurrent session cannot be easily started while one is active
- workaround: use F1 or set "debug.showInStatusBar" to "onFirstSessionStart" and start session via quickpick
- no session drop-down visible if debug viewlet is too narrow
- problem: it is not really obvious that the CALLSTACK view could be used for switching sessions in this situation
- workaround: make debug viewlet wider
Proposed Debug Bar locations:
Important requirements:
- toolbar always visible (independent from which viewlet is active)
- "docked" toolbar violates this
- toolbar should not hide anything
- "floating" toolbar violates this
My take:
The two important requirements could be easily addressed by a global toolbar, but VS Code doesn't provide one.
Since it is difficult to find a good solution that obeys both requirements, I propose a two-pronged approach:
Let's start by improving the "floating" toolbar.
I've tried to compile issues and proposals from #2513 and #9093:
Today VS Code supports two locations:
"floating" debug toolbar issues:
"docked" debug toolbar issues:
Proposed Debug Bar locations:
Important requirements:
My take:
The two important requirements could be easily addressed by a global toolbar, but VS Code doesn't provide one.
Since it is difficult to find a good solution that obeys both requirements, I propose a two-pronged approach:
improve "floating" toolbar (which will continue to be the default):
improve "docked" toolbar (which is most likely covered by Show debug sessions under a new split view section #49881):
Let's start by improving the "floating" toolbar.