问题描述
我一直在使用 Indigo,现在正在尝试 Juno
有一点令人烦恼的区别:
I have been using Indigo for a while, and now trying Juno
There is a sligth bothering difference:
在 Indigo 上打开 10 个标签时
On Indigo When you had 10 tabs opened
一个 |B |C |D |Ĵ |H |G ....(F | T | S)
A | B | C | D | J | H | G ....(F | T | S)
目前在 B
当您再次选择选项卡 T 中显示的文件时,此选项卡(在 Indigo 上,这不是 Juno 上的问题)将像这样重新定位:
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:
一个 |乙|T |C |D |Ĵ |H ....(G | F | S)
A | B | T | C | D | J | H ....( G | F | S)
这很有用,因为如果在 B 之后打开 T,这意味着它们应该组合在一起
This is useful since, if opening T after B, it means they should be grouped together
在 Juno 上,它不会重新定位它们,而是您需要在选项卡列表中找到最近的文件
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)
感谢 Paul 的回答,一个好的解决方案是在 eclipse 文件夹中搜索 .css 文件,例如在 e4-default-win7.css 中将 swt-mru-visible 属性设置为 true
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
推荐答案
默认情况下,Juno 不呈现您在 Indigo 中看到的 MRU(最近使用)选项卡行为(它从未完全正常工作),而是使用编辑器文件顺序.
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.
我相信您可以通过在 Preferences>General>Appearance
中切换到 Classic 主题或通过编辑 CSS 来重新激活它.请参阅 http://wiki.eclipse.org/Eclipse4/CSS
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;
}
不要忘记重新启动 Eclipse 以使其使用新参数.
Don't forget to restart Eclipse to make it use the new parameters.
这篇关于Eclipse 选项卡重新定位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!