Vscode: Restore "snap to minimize/maximize" feature with grid editor layout

Created on 11 Jun 2018  路  8Comments  路  Source: microsoft/vscode

  • VSCode Version: 1.25.0-insider
  • OS Version: Windows 7

Steps to Reproduce:

  1. Open 2 files
  2. Split panes
  3. Drag the panes so one is as small as possible
  4. Click that pane

Expected Result

The small pane, when clicked on, should expand to take as much space as possible, shrinking the other pane(s).

Actual Result

The pane stays small.



Does this issue occur when all extensions are disabled?: Yes

feature-request verified workbench-editor-grid

Most helpful comment

Unpleasantly surprised to discover this feature gone in the stable release yesterday. Please bring this feature back. I used the three separate editor groups to organize assets by type (HTML, CSS, JS), and rapidly switching between them became a muscle memory.

In fact, I was so hopeful with the new grid layout, one of the first things I tried to do is create a four-up grid Hollywood-Squares-style, and see if the min/max behavior would work if I had one group expanded and the other three minimized horizontally and vertically. Alas, no.

All 8 comments

This came in when we moved to grid. @joaomoreno to comment how feasible it would be to restore this in the grid widget.

Unpleasantly surprised to discover this feature gone in the stable release yesterday. Please bring this feature back. I used the three separate editor groups to organize assets by type (HTML, CSS, JS), and rapidly switching between them became a muscle memory.

In fact, I was so hopeful with the new grid layout, one of the first things I tried to do is create a four-up grid Hollywood-Squares-style, and see if the min/max behavior would work if I had one group expanded and the other three minimized horizontally and vertically. Alas, no.

Pushed a change to maximize a view in the grid that is either vertically or horizontally with minimal size.

Verify:

  • this works with any grid layout, once you make a view small enough that it hits its minimal size (either vertically or horizontally), clicking into that view will minimize all others

Thank you! Works brilliantly with the grid layout system.

@bpasero May I ask if the feature is released in 1.25.1? My view is not expanded when focused
8 -12-2018 12-52-04

@lsps9150414 no, July is 1.26. But you can stop waiting for stable releases and start using our nightly releases where this fix already landed: You can give our preview releases a try from: https://code.visualstudio.com/insiders/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fabiopicchi picture fabiopicchi  路  192Comments

Tyriar picture Tyriar  路  204Comments

Tyriar picture Tyriar  路  314Comments

niagr picture niagr  路  246Comments

jez9999 picture jez9999  路  234Comments