Feature request: VS code api for working with the size of the window, text editor and panels #195406
Labels
api
feature-request
Request for new features or functionality
layout
General VS Code workbench layout issues
Milestone
I would like the vs code API to expose certain features:
The motivation:
Multiple highly upvotes issues have been made (#367, #2686, #10121) regarding the capability of multiple windows of the same vs code instance.
The main need for this is to allow for better experience on multi monitor setups.
Though recognized as a highly requested feature it seem to be staying in the backlog. My guess is, that it is because it will require some larger restructuring of vs code.
By exposing the above mentioned properties and methods you could allow the community to somewhat mitigate the lack of multi window support by developing extensions that could allow one instance of vs code to resize and span multiple monitors and reposition the split views to match the monitor divide.
I suspect many other cool extensions could be made with these hooks, e.g. hotkeys to resize split view to a certain division of the width, etc.
Limitations:
At least on macOS for one window to span multiple monitors one must have "Displays have separate spaces" disabled.
I hope you will consider this, vs code is a great piece of software, but i sure miss multi monitor support.
The text was updated successfully, but these errors were encountered: