microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
161.27k stars 28.31k forks source link

Resize editor pane left/right/up/down keybindings #145890

Open micimize opened 2 years ago

micimize commented 2 years ago

Similar to #46100 but specifically requesting resize left/right/up/down key bindings.

It would also be useful if we could set increment sizes as the default is quite small.

Context: now that vscode's in-editor-pane terminal is reliable I use it a lot more, almost treating vscode as a multiplexer. So being able to resize panes with more fine-grained control from the keyboard would be very useful.

bpasero commented 2 years ago

cc @sbatten for layout

micimize commented 2 years ago

uh, I don't think 20 people will upvote this in the next 60 days, but it should definitely not be closed completely just because it's not high priority. This is a basic keyboard control completeness feature

VSCodeTriageBot commented 2 years ago

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

VSCodeTriageBot commented 2 years ago

:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

VSCodeTriageBot commented 1 year ago

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding, and happy coding!

micimize commented 1 year ago

@bpasero is there a way to keep this in the backlog for re-evaluation later? Maybe in the event that related layout code gets reworked? Or maybe just get overriding the increment size for Increase/decrease view on the roadmap?

It would be nice to know some of the thought process here, like if there is a fundamental design disagreement, or if the pane management logic is just too much of a tangled mess for this feature to be feasible?

bpasero commented 1 year ago

Please see #167999 for our plan this month to clean up and "groom" all opened issues. This issue was closed as part of that initiative.

Or do you suggest to contribute this through a PR?

micimize commented 1 year ago

I might be able to, yes – especially with a bit of insight from a prior contributor who's worked in that neck of the woods. So maybe help-wanted would be applicable. Though I'm not sure when I'll get to it exactly so I don't want to over-promise

BABA983 commented 4 months ago

It seems vscode has this feature now. Increase/Decrease editor Width/Height.

image
micimize commented 4 months ago

@BABA983 I think that's been around for a bit – this FR is similar but about being able to specify left/right/up/down.

Increase/decrease width works well when there are at most 2-by-2 panes, but once you have a left, middle, right layout and want to see more of middle and less of left it starts to get awkward (have to explicitly shrink left because otherwise you might shrink right). With 4+ panes it gets impossible.

However I do have to admit that after a year there is little chance I'll actually get around to contributing this feature.

Although I still believe "this is a basic keyboard control completeness feature," it can be closed as it seems on one else has come out of the woodwork to advocate and my advocacy and potential contribution is the only reason it's alive.