Eclipse - 更改项目/包资源管理器中的字体大小

发布于 2024-10-08 00:48:59 字数 287 浏览 0 评论 0原文

我使用两种环境,一种是 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(8

睫毛上残留的泪 2024-10-15 00:48:59

我有一台 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.

潇烟暮雨 2024-10-15 00:48:59

对于 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. :)

我很OK 2024-10-15 00:48:59

我可以非常自信地说,您无法在 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.

怪异←思 2024-10-15 00:48:59

对于 Windows,请检查以下链接:

窗口>首选项>一般>外观>颜色和字体>看法
和编辑器文件夹>视图的树形和表格字体

https:// www.bootng.com/2021/01/change-project-explorer-tree-view-font.html

For windows check below link:

Window > Preferences > General > Appearance > Colors and Fonts > View
and Editor Folders > Tree and Table font for views

https://www.bootng.com/2021/01/change-project-explorer-tree-view-font.html

椵侞 2024-10-15 00:48:59

我从事 Android 开发工作。我已经安装了 ADT,它来自 Eclipse。 Windows 说明安装的 eclipse 具有以下组件。

This product includes Eclipse Platform, JDT, CDT, EMF, GEF and WTP,

和版本:4.2.1.v20130118-173121-9MF7GHYdG0B5kx4E_SkfZV-1mNjVATf67ZAb7
BuildID:M20130204-1200

使用上述版本,我可以在 eclipse 中更改字体。更改字体的过程非常简单

1) Click on Window menu.
2) Click on Preferences sub menu.
3) Open General tab. (Left navigation)
4) Open Appearances sub tab. (Left navigation)
5) Click on Colors and Font option. (Left navigation)
6) Expand Basic option. (Right panel)
7) Click on Text Font (last option in Basic option)
8) Click on Edit Button.
9) Change the font which you want.

上面选项的屏幕截图看起来像...

在此处输入图像描述

I work in Android development. I have ADT installed which comes which eclipse. The Windows about states that the eclipse installed has following components.

This product includes Eclipse Platform, JDT, CDT, EMF, GEF and WTP,

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

1) Click on Window menu.
2) Click on Preferences sub menu.
3) Open General tab. (Left navigation)
4) Open Appearances sub tab. (Left navigation)
5) Click on Colors and Font option. (Left navigation)
6) Expand Basic option. (Right panel)
7) Click on Text Font (last option in Basic option)
8) Click on Edit Button.
9) Change the font which you want.

The screen shot of above option looks like...

enter image description here

梨涡 2024-10-15 00:48:59

对于 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/

青春如此纠结 2024-10-15 00:48:59

对于 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

帅气尐潴 2024-10-15 00:48:59

更改 Eclipse 中的 Project Explorer 字体大小

  1. 转到窗口 >首选项>一般>外观>颜色和字体>查看和编辑文件夹>视图的树形和表格字体

  2. 单击“编辑”并更改字体大小

Change Project Explorer font size in Eclipse

  1. Goto Window > Preferences > General > Appearance > Colours and Fonts > View and Editor Folders > Tree and Table font for views

  2. Click Edit and change the font size

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文