question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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).

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:118
  • Comments:18 (1 by maintainers)

github_iconTop GitHub Comments

10reactions
paweston70commented, May 24, 2019

There is an alternative - workbench.editor.tabCloseButton can be positioned on the left, that way the mouse pointer always remains in the same place, but a user naturally gravitates to the right to close a tab, so it would be quicker, but just slightly annoying.

8reactions
kchoo1118commented, Nov 8, 2021

Any updates?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to stop browser from closing two tabs instead of just one
To have only one tab open, remove any and all URLs listed there except for the one you want to keep as your...
Read more >
How To Close Tabs Using Shortcuts in Your Browser - Indeed
Navigate your mouse to the tab you'd like to close and click to open it. Hold down the "Control" key and press the...
Read more >
Open and close tabs in Chrome browser - Google Support
Open Chrome browser. Choose an option: Next to the last tab on the right, click New tab "" . Use a keyboard shortcut:...
Read more >
Closing Internet tabs one at a time not available after Windows ...
Each of the tabs has a X. It will appear as you move your mouse pointer over it. Also, the keyboard shortcut, Ctrl...
Read more >
Open and close tabs in Safari on iPad - Apple Support
Tip: To close all tabs in this Tab Group at the same time, touch and hold Done, then tap Close All [number of]...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found