Tabbed Editors
-
I really hate tabbed editors. Mainly because they are so actively user hostile in the way that they organize the tabs. In particular, when I have a bunch of files open, it's common to switch back and forth between a few particular files. But instead of any sort of "recently used" ordering, they use whatever the fuck they use...I guess "order of opening."
Does anyone know of any extensions for Eclipse or VS Code that fix the file tabs? Do any editors do this natively?
-
@boomzilla said in Tabbed Editors:
Does anyone know of any extensions for Eclipse or VS Code that fix the file tabs?
Eclipse lets you change the visual order of tabs by dragging them. (You can also drag the file into a separate panel or entirely off into its own window.)
-
Actually, now that I've actually looked, this seems to be what I want for VS Code:
-
vim has you covered.
REORDERING TAB PAGES: :tabm[ove] [N] *:tabm* *:tabmove* :[N]tabm[ove] Move the current tab page to after tab page N. Use zero to make the current tab page the first one. Without N the tab page is made the last one. :tabm[ove] +[N] :tabm[ove] -[N] Move the current tab page N places to the right (with +) or to the left (with -).
-
@boomzilla Doesn't VSCode switch between two editors by default, without extensions?
Edit: might be a recent development. I seem to recall it didn't do that before. But the version I'm testing right now (1.45.1) works that way.
-
-
@Zecc said in Tabbed Editors:
@boomzilla Doesn't VSCode switch between two editors by default, without extensions?
Edit: might be a recent development. I seem to recall it didn't do that before. But the version I'm testing right now (1.45.1) works that way.
Not sure what you mean by "switch between two editors." I'm talking about the order of the tabs right above the editor.
-
@boomzilla I mean between two documents, files, whatever you want to call them.
-
-
@Zecc uh...hmm...firstly, I don't have that thing in the upper right.
Now, if you had more documents open than fit across the top. What happens if you open one of those? The "Tab Cycle" extension I just installed would bump the visible tabs to the right and put the active tab all the way at the left, which is exactly what I was looking for.
My tabs are ordered in the order in which I've been editing them, making it much more likely (IME) to keep the tab I want right there in front of me and easy to access.
-
@boomzilla said in Tabbed Editors:
uh...hmm...firstly, I don't have that thing in the upper right.
The "minimize window" button?
@boomzilla said in Tabbed Editors:
Now, if you had more documents open than fit across the top. What happens if you open one of those? The "Tab Cycle" extension I just installed would bump the visible tabs to the right and put the active tab all the way at the left, which is exactly what I was looking for.
My tabs are ordered in the order in which I've been editing them, making it much more likely (IME) to keep the tab I want right there in front of me and easy to access.OH! Now I get it.
Yeah, it doesn't do that.
-
@Zecc said in Tabbed Editors:
@boomzilla said in Tabbed Editors:
uh...hmm...firstly, I don't have that thing in the upper right.
The "minimize window" button?
The dropdown selector thingy you're apparently using to select which file to edit.
Also, there's no minimize button in your video.
-
@boomzilla I see the minimize button
It even looks just like the Linux one
-
@hungrier said in Tabbed Editors:
@boomzilla I see the minimize button
It even looks just like the Linux one
Ahhhh....it was getting clipped by nodebb. Possibly my custom CSS that keeps post content from getting too wide:
I can see it if I open the video into a new tab.
-
@boomzilla said in Tabbed Editors:
Possibly my custom CSS that keeps post content from getting too wide:
Yep. Added
overflow: visible;
and now I can see the whole video.
-
@boomzilla said in Tabbed Editors:
The dropdown selector thingy you're apparently using to select which file to edit.
I was just pressing Ctrl+Tab (not pictured).
-
@Zecc hmmm....interesting...was not aware of that...ah...and I guess it's using non-standard window chrome and that's the window title. Which looks like this here:
-
@boomzilla said in Tabbed Editors:
But instead of any sort of "recently used" ordering, they use whatever the fuck they use...I guess "order of opening."
CLOSED WORKSFORME
All Jetbrains IDEs use most recently used order in the tab switcher by default. You can also configure hotkeys for the first 10 tabs, pin tabs, mass-close tabs to the left/right, mass-close unedited files, sort tabs alphabetically, etc. Pretty much everything you can think of.
-
@boomzilla said in Tabbed Editors:
I'm talking about the order of the tabs right above the editor.
I just drag/drop mine to reorder...
edit: Oh, opening them... Yeah, I have never really figured out the logic VSCode uses there...
-
@boomzilla said in Tabbed Editors:
@Zecc hmmm....interesting...was not aware of that...ah...and I guess it's using non-standard window chrome and that's the window title. Which looks like this here:
Yeah, you can choose between Native and Custom in File/Preferences/Settings, User/Window/Title Bar Style. I put it back to Native just like I do with the web browsers.
I suppose Ctrl-Tab was a more obvious analogy when MDI applications were the thing. We've spun all the way around from multiple to single and now tabbed.
-
@boomzilla looks like the extension will help you, but additionally, try dragging a tab to the left or right side of the screen
-
IntelliJ has a Ctrl+Tab cycle that's how you expect - except it only remembers the last 10 (even if you have 50 tabs open) which is a bit annoying. But they also have the Ctrl+N 'find a class by abbreviated name' which is pretty good for things that aren't in the top 10.
Notepad++ has a Ctrl+Tab cycle which is most recently used first (although I think you can still set it back to ctrl+tab through the tab visual order if you want).
-
@boomzilla said in Tabbed Editors:
I really hate tabbed editors. Mainly because they are so actively user hostile in the way that they organize the tabs. In particular, when I have a bunch of files open, it's common to switch back and forth between a few particular files. But instead of any sort of "recently used" ordering, they use whatever the fuck they use...I guess "order of opening."
Does anyone know of any extensions for Eclipse or VS Code that fix the file tabs? Do any editors do this natively?
This Eclipse bug states that it might be up to the Eclipse theme to set the "show tabs in MRU order" flag and recommends switching to the Classic theme, then restarting Eclipse.
-
@JBert Motherfucker. I had it on the "Light" theme. Switched to "Classic" and it seems to be working. Also I didn't notice much obvious difference in the appearance.
-
@JBert said in Tabbed Editors:
it might be up to the Eclipse theme to set the "show tabs in MRU order" flag