如何在 Eclipse 4.2 (Juno) 中解锁工具栏

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11301795/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 18:27:17  来源:igfitidea点击:

How to unlock toolbars in Eclipse 4.2 (Juno)

eclipsetoolbareclipse-juno

提问by curd0

I migrated from Eclipse Indigo (3.7) to Juno (4.2). In Juno all toolbars seem to be permanently locked. Is there a way to unlock them so they could be moved or rearranged?

我从 Eclipse Indigo (3.7) 迁移到 Juno (4.2)。在 Juno 中,所有工具栏似乎都被永久锁定。有没有办法解锁它们以便移动或重新排列它们?

采纳答案by curd0

I posted this earlier as a comment to my question, but was suggested that it should be an answer, so here we go:

我早些时候发布了这个作为对我的问题的评论,但有人建议它应该是一个答案,所以我们开始:

It has been officially confirmedthat the ability to move toolbars (or any trim elements for that matter) is brokenin Eclipse Juno. Here's the link to the Bug #340695for everyone who's interested in tracking this issue. The fix is expected in the Milestone release 4.2.2.

已经正式确认在 Eclipse Juno 中移动工具栏(或任何与此相关的任何修剪元素)的能力被破坏。这是所有有兴趣跟踪此问题的人的错误 #340695的链接。预计在里程碑版本 4.2.2 中进行修复。

回答by Viorel Stolea

Try Windows- Preferences - Appearance

尝试 Windows - 首选项 - 外观

See the print:

见打印:

enter image description here

在此处输入图片说明

Then type Theme in the Search box (or go General->Appeearance->Theme) and choose Window 7. restart and you'll be able to move the icons/groups in the toolbar (but not get rid of any)

然后在搜索框中键入主题(或转到 General->Appeearance->Theme)并选择 Window 7。重新启动,您将能够移动工具栏中的图标/组(但不能删除任何图标/组)

After you're done you'll be asked to restart/ I went to Classsic theme and THEN restarted.

完成后,您将被要求重新启动/我去了经典主题,然后重新启动。

Hope it helps

希望能帮助到你

回答by vlb

Changing the theme to Windows 7 work fine for me.

将主题更改为 Windows 7 对我来说很好。

回答by Deepak Azad

I don't think that this is possible today.

我不认为这在今天是可能的。

回答by Dimath

Partial workaround: http://blog.redfin.com/devblog/2012/07/hide_eclipse_juno_toolbar.html

部分解决方法:http: //blog.redfin.com/devblog/2012/07/hide_eclipse_juno_toolbar.html

Use Help > Welcome, then Window / Show Toolbar. At that point you should be able to move your minimized window toolbar(s) around (what was "fast view" before).

使用帮助 > 欢迎,然后使用窗口/显示工具栏。那时您应该能够移动最小化的窗口工具栏(之前是“快速查看”)。

回答by Axel

Good grief. I tried changing to the Windows 7 Classic theme because I was unable to move my toolbar buttons. Worse even, when the debug perspective opened automatically upon hitting the first breakpoint, the Java perspective button remained pressed, but pressing it again changed back to the Java perspective. Now, with Windows 7 Classic, the editor tabs look like in Indigo (whose look&feel personally I liked much better), but now the menu bar is gone and all perspective chooser buttons are gone too. The menu hotkeys (such as "Alt-W p" to get to Window-Preferences) don't seem to work. If I don't want to re-install I would probably now have to fiddle with some config files to find the Theme setting. Well, thank you...

好伤心。我尝试更改为 Windows 7 Classic 主题,因为我无法移动我的工具栏按钮。更糟糕的是,当调试透视图在点击第一个断点时自动打开时,Java 透视图按钮保持按下状态,但再次按下它会变回 Java 透视图。现在,使用 Windows 7 Classic,编辑器选项卡看起来像 Indigo(我个人更喜欢它的外观和感觉),但现在菜单栏不见了,所有透视选择器按钮也不见了。菜单热键(例如“Alt-W p”进入窗口首选项)似乎不起作用。如果我不想重新安装,我现在可能必须摆弄一些配置文件才能找到主题设置。嗯,谢谢...

回答by MrPotes

For Eclipse Kepler, I have reported the bugagain (the fix to the previously listed bug doesn't appear to have made a difference), and listed a workaround.

对于 Eclipse Kepler,我再次报告了该错误(对先前列出的错误的修复似乎没有产生任何影响),并列出了一个解决方法。

Changing the CSS for the org.eclipse.platform plugin to use ../images/instead of ./in all of the image URLs should cause it to start working.

更改 org.eclipse.platform 插件的 CSS 以使用../images/而不是./在所有图像 URL 中应使其开始工作。

回答by mmo

Obviously this is still broken in v4.3/Kepler. Thanks to the above appends I found a way to fix this (using theme Windows Classic).

显然这在 v4.3/Kepler 中仍然被打破。由于上述附加,我找到了解决此问题的方法(使用主题 Windows Classic)。

Thanks folks! M.

谢谢各位!M。