Multiple tab rows in eclipse

I’ve recently become an eclipse convert after
quite a few years using Textpad as my java
editor. A few niggles aside its all good :slight_smile:

BUT, one of the things that Textpad has which
i can’t seem to get eclipse to do is multiple rows
of tabs in the editor pane. So instead it squashes
all the filenames up and then puts the rest into a
dropdown at the right of the pane.

Any way of enabling this ? Configuring eclipse is …
interesting … to say the least !

D.

I don’t believe you can, yet. Submit an RFE.

Cas :slight_smile:

Yah, I figured as much. There already seems to have
been some discussion about it on the eclipse bugtracker

https://bugs.eclipse.org/bugs/show_bug.cgi?id=14054

and mentioned in a couple of others. The annoying thing
about the bug listed above (which gave rise to the drop
down on the right hand side I think) is that the multiple
rows of tabs are mentioned right at the end, just before
a post by the development team ‘fixed’ so i was hoping
i’d over looked something.

Cheers, D.

Looks like the fix is to not show any more editors than will fit, hiding excess editors inside a little dropdown control at the top-right of the tab bar.

Doesn’t seem like an optimal solution to me… :-/

Actually it is a good solution. If you’ve got more than 8 editors open it’s very likely that several of them could or should be closed as they’re just wasting memory. Eclipse can take care of this for you automatically.

With all this virtual RAM we tend to waste memory frivolously…

Cas :slight_smile:

hehe indeed… every now and then I have to close them all. However sometimes within 10 minutes of development I find I have over 25 different classes open. If I can jump to them all that frequently… perhaps I need them :slight_smile: Tabs I could never keep up with. An alphabetical drop down list I can keep up with. For me, the drop down is the best solution.

However, I want my tabs !! Eclipse tends to eat up
horizontal screen real-estate though which makes it
worse. Using Textpad i can get 10 tabs per row with
full filenames displayed. On eclipse you get your 10
tabs but only between 8 and 9 characters displayed
in the tab. I’m writing a set of GUI classes for something
i’m doing in JOGL and i tend to have a fairly hefty
percentage of them open at one time. The irritating thing
is that with something like the following:

GluiMouseMotionListener
GluiMouseWheelListener
GluiMouseEvent
GluiMouseListener

they all look the SAME in the tabs !
OTOH I suppose i could just stop complaining
and get back to coding :slight_smile:

D.

I always find it easier to use the package view to find classes ('cos you’ll often only be working in a couple of packages max). That and Ctrl-click makes it dead easy.

And half your problem is your lousy naming scheme! Drop the old C-style method of prefixing everything with the library name and you’ll make the whole thing so much easier.

[quote]And half your problem is your lousy naming scheme! Drop the old C-style method of prefixing everything with the library name and you’ll make the whole thing so much easier.
[/quote]
That’s true… But in Daire Quinlan’s case, he shouldn’t remove them. He’s using JoGL and JoGL use AWT events, so if he removes the Glui prefixe, he’ll run into class naming problems (MouseMotionListener, MouseEvent etc are already defined in the java.awt.event package)… :slight_smile:

Chman

F3 is your friend.

Have the cursor at some variable, press F3 and it will jump to the decleration.

Have the cursor at a type definition, press F3 and it will open the relevant file for editing.

After I saw that trick I dont even look at the tabs anymore

Or use CTRL+mouse pointer key for that: move your mouse pointer over a type or variable and press CTRL: you will see a preview of the code. Then click on it to jump to the definition