+11
Declined

tab resizing like chrome

Rohan Dhaimade 13 years ago updated by Jon Skinner 12 years ago 3
If at all possible to copy the tab behaviour of chrome (in the terms of sizing and closing). It's preetty well documented and it would be nice cause then we can quickly close tabs with your mouse.

Answer

-1
Answer
Declined
Chrome style delayed-tab-resizing-on-close only makes sense if all the tabs are the same width, as they are in Chrome.

Sublime Text 2 uses different width tabs, to better make use of the available space. This is done because file names in text editors are much more important that titles on web pages.

If resizing were delayed, then it would in general be no help, as the close button of the next tab would not come to be under the mouse cursor.
-1
Answer
Declined
Chrome style delayed-tab-resizing-on-close only makes sense if all the tabs are the same width, as they are in Chrome.

Sublime Text 2 uses different width tabs, to better make use of the available space. This is done because file names in text editors are much more important that titles on web pages.

If resizing were delayed, then it would in general be no help, as the close button of the next tab would not come to be under the mouse cursor.
+1
Don't know if this will get read..

I'm really disappointed this got rejected. It seems it would be easy, when a tab was closed, to temporarily reduce the size of the next tab to move it's close button under the mouse. 

This is the number one annoyance I have with sublime text. While it's minor, it is annoying when trying to close a lot of tabs at the end of editing a particular project, and cleaning up.
This really does need to be implemented -- at the very least in a package/plugin. Jon, you say it wouldn't work because the tab widths are dynamic -- so why not temporarily unify the width of the tabs after the closed tab for the time the mouse cursor is over the bar? That way, the next window slides in to an even space under the mousecursor.
+3
Jon, your comments above (as to why this is declined) are not necessarily so. Consider this:

* I have too many files opened for tabs to be at their optimum width (i.e. titles are truncated).

* Currently: When I close one tab, all tabs rebalance.

* Instead, if you adopt the behaviour whereby the tabs to the left remain static and the tabs to the right fall under my cursor, I can close multiple tabs quickly & easily (as though someone walked in on me editing some cheeky files).

* The close button doesn't need to move under the cursor because I can middle-click it.

Does this motivate the feature?