Tabs

Hi,

I'm fedup with Idea's tabs.
. They take way too much space,
. they go to several lines (ok I know, you can disable this, but then
you have nasty arrows),
. they close by themselves (unless you explicitly 'pin' them)
. they don't appear at the right place (newly opened editors should have
a tab at the end of the list, ie on the right side)
. ctrl-tab only works via a plugin (shouldn't it be enabled by default?)

Look at Textpad's tabs. (www.textpad.com).

Do you think this could be arranged with a plugin ?

BoD

7 comments

You can turn off the closing by themselves in editor options, I think. Where it says "Maximum number of editor windows open:", change it from the default 10 or 15 to 100 or something like that.

You could bind "next tab" to ctrltab in the keymap options. I think it's already bound to AltRight, but if you like Ctrl+Tab you could add a binding.

You are upset that they go to several lines, but you don't want to compress them to one line with the arrows. What other options would there be that IDEA doesn't support?

0

KL> You are upset that they go to several lines, but you don't want to
KL> compress them to one line with the arrows. What other options would
KL> there be that IDEA doesn't support?
KL>

Make them smaller. I also think there's a lot of wasted space in the tabs, I really cannot understand why they keep them so wide. IDEA puts two rows of tabs way before two rows are really needed, the class name takes less than half of the space on a tab at any given time. Take the icon and the file extension into account (admitting that one of them is redundant) and you end up with one third of the tab being used for really meaningfull information.

The single line thing is not a decent workaround, either. If I don't see the tab I might as well have it closed, since I can bring it up with Ctrl+E.

Andrei

0

I could live without tabs altogether (if I could only turn them off, but
I have to have 1 tab showing :( ) cos I always use the tabswitch plugin
or ctrl+E... I don't really see the benefit of having tabs atall. Sure
you can see the file names in front of your face, but you still have to
move your hand to the the mouse & click to select the file you want, or
press "next tab" on the keyboard a number of times.

Bringing up the list of filenames with the tabswitch plugin or ctrl+E
only when you want to change to a different file means the tabs can be
hidden, saving the screen real estate, and avoiding the worry of what to
do with too many tabs.

Since changing to this way of working I find it much easier and quicker
to get to where I want. But obviously this is just my humble opinion ;)

N.

Andrei Oprea wrote:

KL> You are upset that they go to several lines, but you don't want to
KL> compress them to one line with the arrows. What other options would
KL> there be that IDEA doesn't support?
KL>

Make them smaller. I also think there's a lot of wasted space in the tabs, I really cannot understand why they keep them so wide. IDEA puts two rows of tabs way before two rows are really needed, the class name takes less than half of the space on a tab at any given time. Take the icon and the file extension into account (admitting that one of them is redundant) and you end up with one third of the tab being used for really meaningfull information.

The single line thing is not a decent workaround, either. If I don't see the tab I might as well have it closed, since I can bring it up with Ctrl+E.

Andrei

0

Keith Lea wrote:

You can turn off the closing by themselves in editor options, I think. Where it says "Maximum number of editor windows open:", change it from the default 10 or 15 to 100 or something like that.


Thanks a lot! I hadn't seen it before.


You could bind "next tab" to ctrltab in the keymap options. I think it's already bound to AltRight, but if you like Ctrl+Tab you could add a binding.


Well that's not exactly the same. What I was talking about is the
tabswitch plugin. Next tab is the most recently activated file. So
ctrl-tab twice goes back to the same file (exactly like what alt-tab
does under windows), whereas alt-right twice goes to another file (which
I don't find usefull). I couldn't live without the tabswitch plugin :)
That's why I was wondering why its functionality is not included as default.


You are upset that they go to several lines, but you don't want to compress them to one line with the arrows. What other options would there be that IDEA doesn't support?


Compress each tab. If there is not enough space, remove first the icon,
then if it's not enough remove the file extension, and if it's still not
enough, make only the beginning (or optionally the end!) of the filename
appear in the tab.

By the way, I just found that with the Windows L&F, the tabs are smaller
:) Joy.

BoD

0

Another way to display tabs is on the right or left side of the source editor. Now I know that there is already something over on the right side of the source editor, but it's a lot easier to read tab names going down the screen than across the screen.

If you want to see this in action, take a look at JBuilder. They support this and it really makes finding a single source file in 40 open source files a lot easier.

Dave

0

FYI, File -> Settings -> Appearance -> Editor Tab Placement

0

Yeah well, actually, that's good.
Except they still are approximately 640 pixels wide ;)

BoD

Maas van den Berg wrote:

FYI, File -> Settings -> Appearance -> Editor Tab Placement

0

Please sign in to leave a comment.