Eclipse tabs repositionning

eclipseeclipse-junotabs

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

Best Answer

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.