Eclipse - 更改项目/包资源管理器中的字体大小
我使用两种环境,一种是 24 英寸屏幕,另一种是 15 英寸屏幕。我需要第一个项目/包资源管理器内容的默认字体大小,但另一个项目/包资源管理器的字体大小较小。
有什么办法可以在eclipse中改变它吗?我的意思是不在操作系统内?因为它总是影响桌面上的其他字体大小。我正在提到这个问题。
如果没有办法,请描述一下在Linux - 独立发行版中你会如何做。
I'm using two environments, one with 24" screen, second one with 15". I need default font size of content of project/package explorer in the first one, but small font size for the other one.
Is there any way how to change it within eclipse? I mean not within operating system ? Because it always influences other font size on desktop. I'm reffering to this question.
If there is no way, please describe how would you do it in Linux - distribution independently.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(8)
我有一台 17 英寸 Mac Book Pro,经常连接到 27 英寸高分辨率显示屏,并且包资源管理器中的字体太小。 Eclipse 应该尊重操作系统设置,但事实证明在 Mac OS X 上,Eclipse 的默认设置是使用小字体而不是标准操作系统字体。
在 Mac OS X 上,您可以更改编辑 eclipse.ini 文件并删除
-Dorg.eclipse.swt.internal.carbon.smallFonts
重新启动 eclipse,然后您会发现您的包资源管理器看起来很棒,大小合理字体。您必须使用 Eclipse.app 上的 Finder 选项“显示内容”来查找 eclipse.ini 文件,并且,smallFonts 行可能会在 .ini 文件中出现多次。
I have a 17 inch Mac Book Pro which is frequently hooked up to 27 inch high res display and the font size in the package explorer was way too small. Eclipse is supposed to respect the OS settings but it turns out on Mac OS X the default setting for eclipse is to use small Fonts rather than the standard os fonts.
on Mac OS X you can change edit the eclipse.ini file and remove
-Dorg.eclipse.swt.internal.carbon.smallFonts
restart eclipse and presto you will find that your package explorer looks brilliant with reasonable sized fonts.You make have to use the Finder option "Show Contents" on the Eclipse.app to find the eclipse.ini file, and, the smallFonts line may occur more than once in the .ini file.
对于 Mac OS X,请从 http://bresink.de/osx/TinkerTool.html 下载 TinkerTool然后更改“帮助标签”的字体大小。
这改变了我的包资源管理器的字体大小。 :)
For Mac OS X, download TinkerTool from http://bresink.de/osx/TinkerTool.html and then change the font size for "Help tags".
That changed the font size of package explorer for me. :)
我可以非常自信地说,您无法在 Eclipse 中更改字体大小,唯一的选择是在操作系统上。在 ubuntu 上你可以改变字体大小。
I can say pretty confidently that you cannot change that font size from within eclipse, only choice is on the operating system. And on ubuntu you are able to change that font size.
对于 Windows,请检查以下链接:
https:// www.bootng.com/2021/01/change-project-explorer-tree-view-font.html
For windows check below link:
https://www.bootng.com/2021/01/change-project-explorer-tree-view-font.html
我从事 Android 开发工作。我已经安装了 ADT,它来自 Eclipse。 Windows 说明安装的 eclipse 具有以下组件。
和版本:4.2.1.v20130118-173121-9MF7GHYdG0B5kx4E_SkfZV-1mNjVATf67ZAb7
BuildID:M20130204-1200
使用上述版本,我可以在 eclipse 中更改字体。更改字体的过程非常简单
上面选项的屏幕截图看起来像...
I work in Android development. I have ADT installed which comes which eclipse. The Windows about states that the eclipse installed has following components.
and Version : 4.2.1.v20130118-173121-9MF7GHYdG0B5kx4E_SkfZV-1mNjVATf67ZAb7
and BuildID : M20130204-1200
With the above version, I am able to change the font within eclipse. The process to change the font is very simple
The screen shot of above option looks like...
对于 Linux:查看此链接,它对我非常有用!我正在使用作者最喜欢的选项并且可以无缝工作。
http://techtavern.wordpress。 com/2008/09/24/smaller-font-sizes-for-eclipse-on-linux/
For linux: Check out this link, it was very useful to me! I'm using the author's favourite option and works seamlessly.
http://techtavern.wordpress.com/2008/09/24/smaller-font-sizes-for-eclipse-on-linux/
对于 Sierra 上的 Eclipse Oxygen,删除
-Dorg.eclipse.swt.internal.carbon.smallFonts
来自 Eclipse.app » 内容 » Eclipse » eclipse.ini
没有改变任何可见的东西
For Eclipse Oxygen on Sierra, deleting
-Dorg.eclipse.swt.internal.carbon.smallFonts
from Eclipse.app » Contents » Eclipse » eclipse.ini
didn't change anything visible
更改 Eclipse 中的 Project Explorer 字体大小
转到窗口 >首选项>一般>外观>颜色和字体>查看和编辑文件夹>视图的树形和表格字体
单击“编辑”并更改字体大小
Change Project Explorer font size in Eclipse
Goto Window > Preferences > General > Appearance > Colours and Fonts > View and Editor Folders > Tree and Table font for views
Click Edit and change the font size