71
votes

I have been using Indigo for a while, and now trying Juno
There is a sligth bothering difference:

On Indigo When you had 10 tabs opened

A | B | C | D | J | H | G ....(F | T | S)

and currently on B
when you selected the file shown in tab T again, then this tab (on Indigo and that's the problem not on Juno) would be repositioned like that:

A | B | T | C | D | J | H ....( G | F | S)

This is useful since, if opening T after B, it means they should be grouped together

on Juno it does not reposition them, instead you will need to find most recent files far in the tab list

Q: how to set it back? I searched params with 'tabs' in the options with no result

edit: still the same in new versions (Kepler)

edit: Thanks to Paul' answer, a good solution is to search for .css files in eclipse folder, and set swt-mru-visible property to true in e4-default-win7.css for example

2
I know this is an old question. But on every new version of eclipse, I keep on coming back here to get the answer. It still amazes me that the bug related to it is still unchanged since 2012. bugs.eclipse.org/bugs/show_bug.cgi?id=396008Fabricio Buzeto

2 Answers

86
votes

Juno by default doesn't present the MRU (Most Recently Used) tab behaviour that you see in Indigo (it never worked quite right) and instead uses the Editor document order.

I believe you can re-activate it be either switching to the Classic theme in Preferences>General>Appearance or by editing the CSS. See http://wiki.eclipse.org/Eclipse4/CSS

.MPartStack {
    swt-mru-visible: true;
}

Don't forget to restart Eclipse to make it use the new parameters.

12
votes

Apparently this option was added in Eclipse Mars 4.5:

Window -> Preferences -> General -> Appearance ->

Visible tabs on overflow:

[X] Show most recently used tabs