Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 99046

Toggling the maximization of the current window (for any window type)

$
0
0

I want to define a single and universal keyboard binding that allows me to toggle the maximization of the current window, regardless of the type of window.

At a minimum, a window could be:

  • Any single editor group
  • The panel itself

My thinking about this problem

There are several command IDs that I believe could help here but none of them seem to do what I want, e.g.

  • workbench.action.toggleEditorWidths
  • workbench.action.maximizeEditor
  • workbench.action.toggleMaximizePanel
  • workbench.action.toggleEditorVisibility

I suspect that

  1. there are more commands that could help here
  2. there is probably a way to accomplish this with the right boolean logic of when clauses and joint execution of command IDs (?)

 Dow


Viewing all articles
Browse latest Browse all 99046

Latest Images

Trending Articles

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>