Eclipse标签重新定位 [英] Eclipse tabs repositionning

查看:249
本文介绍了Eclipse标签重新定位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用靛蓝一段时间,现在正在尝试朱诺

有一个轻松的麻烦:



靛蓝当你有10张标签打开



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



当前选择了T标签中显示的文件,然后再次出现在B上

此选项卡(在 Indigo 上,这不是Juno上的问题)将被重新定位:



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



这是有用的,因为如果在B之后打开T,这意味着它们应该被分组在一起



在Juno上它不会重新定位它们,而是您需要在标签列表中找到最近的文件



问:如何把它设置回来我在没有结果的选项中使用选项卡搜索参数



编辑:在新版本(开普勒)中仍然相同。



/ p>编辑:感谢Paul的答案,一个很好的解决方案是在eclipse文件夹中搜索.css文件,并在e4-default-win7.css中将swt-mru-visible属性设置为true,例如

解决方案

Juno默认情况下不会显示您在Indigo看到的MRU(最近使用的)标签行为(它从未运行得很正确)相反,您可以使用编辑器文档顺序。



我相信您可以重新激活它,或者切换到首选项>中的经典主题常规>外观或通过编辑CSS。请参阅 http://wiki.eclipse.org/Eclipse4/CSS

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

不要忘记重新启动Eclipse,使其使用新的参数。 / p>

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

解决方案

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.

这篇关于Eclipse标签重新定位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆