Mac OS X Eclipse Package Explorer视图,较小的项目文件夹 [英] Mac os X Eclipse Package Explorer view , project folders in smaller size

查看:701
本文介绍了Mac OS X Eclipse Package Explorer视图,较小的项目文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近带来了Mac Book Pro和我安装了Eclipse Luna。我在Package Explorer文件夹中查看Java项目时遇到的问题很小。有没有办法增加而不是改变屏幕分辨率?

解决方案

应该可以看看这个链接: http:// blog .vogella.com / 2013/02/19 / css-styling-individual-part-of-eclipse-ide /



必要的部分,以防上述链接停止工作:

 #org-eclipse-jdt-ui-PackageExplorer {
font-size:20;
背景:黑色;
}



保留问题,在哪里放这些行。最好的是创造自己的风格,但我从来没有想过如何做到这一点。所以我通常只是修改一个内置的样式。要执行此操作,请转到 /Applications/eclipse4.4/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css 并打开css文件您当前使用的样式(可能 e4_default_mac.css )。然后在该css文件的末尾添加上述行并重新启动Eclipse。注意:更新Eclipse时,您可能需要重复这些步骤。



编辑:只是意识到已经在SO上询问并回答:我无法更改Eclipse中的软件包资源管理器的字体大小 Don不要看看接受的答案,而是在下面的一个。


I recently brought Mac Book Pro and I installed Eclipse Luna. I am facing a problem in viewing the Java projects in "Package Explorer" folders are very small. Is there a way to increase instead of changing the screen resolution?

解决方案

It should be possible, have a look at this link: http://blog.vogella.com/2013/02/19/css-styling-individual-part-of-the-eclipse-ide/

(Copy of the essential part, in case the above link stops working:

#org-eclipse-jdt-ui-PackageExplorer {
      font-size:20;
      background:black;
}

)

Remains the question, where to put those lines. Best would be to create your own style, but I never figured out how to do it. So I usually just modify one of the built-in styles. To do this, go to /Applications/eclipse4.4/plugins/org.eclipse.ui.themes_1.0.1.v20140819-1717/css and open the css-file of the style you currently use (probably e4_default_mac.css). Then add the above lines at the end of that css file and restart Eclipse. Note: when updating Eclipse, you might have to repeat those steps.

EDIT: Just realized it was already asked and answered on SO: I cannot change the font size of package explorer in Eclipse Don't look at the accepted answer, but at the next one below.

这篇关于Mac OS X Eclipse Package Explorer视图,较小的项目文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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