Skip to content

Allow to close multiple tabs without moving the mouse after closing one #40290

@maximilianschmitt

Description

@maximilianschmitt

Hi! I love the new shrink tab sizing in the latest version of Code. It feels much more natural to me because I now have a much better idea of which editors are open in which pane and how many are open in total.

There's an awesome thing that Chrome does when you're closing tabs – it doesn't resize the tabs while you're closing them. This allows you to close many tabs by just clicking repeatedly. It's a small details but it makes the experience a lot smoother in my opinion:

close-multiple-tabs-chrome

For comparison, here is how closing multiple tabs currently behaves in VS Code:

close-multiple-tabs-code

I think the behaviour is something like this:

If the user just closed a tab by clicking, and there is a tab to the right,
don't resize the tabs until the user moves the mouse pointer out from the tabs bar.

When you close a tab that is currently active, select the tab
to the right next (not the previously selected tab).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions