問題描述
我一直在使用 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 選項卡重新定位的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!