简体   繁体   English

如何在eclipse中隐藏状态栏

[英]how to hide the status bar in eclipse

Is there a way to hide the quite large status bar cluttering the bottom of the eclipse window ? 有没有办法隐藏蚀刻窗口底部的相当大的状态栏? (where the heap status, line and column count and further non-essential info is shown). (显示堆状态,行和列数以及其他非必要信息)。

I am forced to work on a tiny screen here so I already have the fullscreen plugin installed and hide the regular toolbar per default, but a few more pixels would definitely help ease the pain of a 4:3 19". 我被迫在这里的小屏幕上工作所以我已经安装了全屏插件并默认隐藏常规工具栏,但是更多的像素肯定会有助于缓解4:3 19“的痛苦。

I found another solution in my research of using the eclipse dark color theme: http://i.stack.imgur.com/3heiL.png 我在使用eclipse深色主题的研究中找到了另一个解决方案: http//i.stack.imgur.com/3heiL.png

Solution requires to edit css of eclipse. 解决方案需要编辑eclipse的css。 Source: https://stackoverflow.com/a/17027501/2790481 资料来源: https//stackoverflow.com/a/17027501/2790481

  • If you've installed eclipse-color-theme plugin, you can just copy paste to Eclipse IDE -> Window -> Preferences -> Appearances -> Chrome Theme -> CSS: 如果你已经安装了eclipse-color-theme插件,你可以将粘贴复制到Eclipse IDE - > Window - > Preferences - > Appearances - > Chrome Theme - > CSS:

    #org-eclipse-ui-trim-status, #org-eclipse-ui-trim-vertical1, #org-eclipse-ui-trim-vertical2 { visibility: hidden; }

  • If you use a custom theme then you'll have to edit that plugin's CSS. 如果您使用自定义主题,则必须编辑该插件的CSS。 Eg I had to edit this file eclipse\\plugins\\com.github.eclipseuitheme.themes.moonrise-ui_0.8.6.jar\\themes\\css\\moonrise-ui-standalone.css and add the above CSS code at the end of moonrise-ui-standalone.css. 例如,我必须编辑此文件eclipse \\ plugins \\ com.github.eclipseuitheme.themes.moonrise-ui_0.8.6.jar \\ themes \\ css \\ _ moonrise-ui-standalone.css并在月出结束时添加上述CSS代码 - UI-standalone.css。

You can do this by using quick access. 您可以使用快速访问来完成此操作。 type 'toggle visibility' should find the command that will hide the status bar at the bottom of the window. 类型“切换可见性”应该找到将隐藏窗口底部状态栏的命令。

With the coming release of Eclipse, you'll be able to hide the status bar via menu. 随着即将发布的Eclipse,您将能够通过菜单隐藏状态栏。

see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=501811 请参阅: https//bugs.eclipse.org/bugs/show_bug.cgi?id = 501811

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM