Linux上的Eclipse某些字体太小(git暂存,对话框,轮廓,问题等) [英] Eclipse on Linux some fonts are too small (git staging, dialog, outline, problems etc)
问题描述
好吧,我使用的是Spring Tools Suite 4.12(基于Eclipse 4.11)和一个Deepin OS(基于debian).
Well, I am using Spring Tools Suite 4.12 (based on Eclipse 4.11) one Deepin OS (which is debian based).
我的屏幕是3K(2880x1620).Deepin允许我缩放屏幕,因此我的显示设置为原始分辨率,而在Deepin中,我将缩放比例设置为1.5,因此缩放后应该类似于1080p.
My screen is 3K, (2880x1620). Deepin allows me to scale the screen, so my display is set to native resolution, and in Deepin, I set the scale to 1.5 so after scale it should be similar to 1080p.
它适用于除STS(Eclipse 4.11)以外的大多数应用程序.
It works for most applications, except STS (Eclipse 4.11).
STS中的大多数视图看起来与1080p相似,但是仍然存在一些字体很小的视图,例如git staging,问题:
Most views in STS looks good similar to 1080p, but there are still some views with tiny fonts, such as git staging, problem:
是否可以在FONT设置中修复该问题或修改主题CSS文件?
Any way to fix that in FONT settings or modifying the theme css file?
谢谢!
推荐答案
我花了整整一天的时间才能找到修复程序.
It took me a full day to find a fix.
我在Windows上的字体太小.就像您一样,包装,轮廓等对于我的眼睛来说太小了.
I have fonts being too small on Windows. Exactly like you, package, outline etc way too small for my eyes.
安装插件 http://eclipse.jeeeyul.net/update/
然后在首选项->常规->外观-> Jeeeyul->自定义CSS
Then in Preferences -> General -> Appearance -> Jeeeyul -> Custom CSS
复制粘贴此内容,然后应用
Copy paste this, Apply
.MPart {
font-family: "Segoe UI";
font-size: 12;
color: #000000;
}
.MPart Tree {
font-family: "Segoe UI";
font-size: 12;
color: #000000;
}
.MPartStack {
font-family: "Segoe UI";
font-size: 12;
}
如果使用EGIT,则还需要将外观->颜色和字体->未提交的更改字体设置为相同字体和大小如上所述.
If using EGIT, you will also need to set Appearance -> Colors And Font -> Uncommited Change Font to the same font family and size as above.
Jeeeyul插件还具有一些不错的小功能,可以自定义选项卡.
Jeeeyul plug-in also has nice little features to customize the tabs.
创建一个新的预设,保存并重新启动Eclipse以确保一切正常.
Create a new preset, save it and restart Eclipse to make sure everything is fine.
这篇关于Linux上的Eclipse某些字体太小(git暂存,对话框,轮廓,问题等)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!