Eclipse 选项卡重新定位

Eclipse tabs repositionning(Eclipse 选项卡重新定位)
本文介绍了Eclipse 选项卡重新定位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在使用 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 选项卡重新定位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

VertX 3.9.7 when i receive the form quot;throw exceptionquot; Size exceed allowed maximum capacityquot;(VertX 3.9.7收到表单时抛出异常SIZE超出允许的最大容量QUOT;)
JDK11 Upgrade Fails - ClassNotFoundException jdk.internal.ref.Cleaner(JDK11升级失败-ClassNotFoundException jdk.inder.ref.Cleaner)
How to make Eclipse compile patched modules on JDK 9+ by passing the --patch-module javac option to my project compiler? (see pic)(如何通过向我的项目编译器传递--patch-MODULE javac选项,让Eclipse在JDK 9+上编译打了补丁的模块?(见图))
JavaFX Modular Application, java.lang.module.FindException: Module javafx.controls not found (Java 11, Intellij)(JavaFX模块化应用程序,java.lang.mode.FindException:未找到模块javafx.Controls(Java 11,IntelliJ))
Returning NumberFormatException form SimpleDateFormat in Java code(在Java代码中返回SimpleDateFormat形式的NumberFormatException)
SimpleDateFormat() not giving IllegalArgumentException on passing invalid date format(SimpleDateFormat()在传递无效的日期格式时未给出IlLegalArgumentException)