简体   繁体   English

如何更改Eclipse内容辅助(模板建议)窗口的字体

[英]How to change the font for the Eclipse Content Assist (Template Proposals) window

I'm working in Eclipse 4.x (Juno). 我在Eclipse 4.x(Juno)工作。

I just bought a 4k monitor, as millions of programmers are sure to do soon :-). 我刚买了一台4k显示器,因为数百万程序员肯定会尽快做到:-)。

I'm trying to make Eclipse work with a very dense (high DPI) environment. 我正在尝试使Eclipse在非常密集(高DPI)的环境中工作。 I've managed to change everything to compensate but the Content Assist window. 我已经设法改变了一切以补偿内容辅助窗口。 You can change the colors, but there's no obvious place to change the font. 您可以更改颜色,但没有明显的地方可以更改字体。

Is there any way to change this? 有没有办法改变这个? A config file somewhere? 配置文件在哪里? I am on a Mac / OSX. 我在Mac / OSX上。

Okay, I figured it out myself. 好的,我自己弄清楚了。

From the looks of things, these two windows use the System-level settings rather than Eclipse-specific configuration. 从外观上看,这两个窗口使用系统级设置而不是特定于Eclipse的配置。 That means, unfortunately, you can't change it within Eclipse. 这意味着,遗憾的是,您无法在Eclipse中更改它。

For OSX, I used a program called TinkerTool. 对于OSX,我使用了一个名为TinkerTool的程序。 I changed the setting for "Help Tags", which did the trick. 我更改了“帮助标签”的设置,这就是诀窍。

HOWEVER, this, of course, changes the settings for your whole system, and makes certain windows look weird and wrong. 但是,这当然会改变整个系统的设置,并使某些窗口看起来很奇怪和错误。

Hopefully Eclipse will fix this someday, and make that window configurable in Preferences... 希望有一天Eclipse能解决这个问题,并在Preferences中配置该窗口...

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

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