Java Eclipse 默认字体名称

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/27583403/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-11 04:39:08  来源:igfitidea点击:

Eclipse Default Font name

javaeclipsefonts

提问by

What's the default font that Eclipse uses for Java code?

Eclipse 用于 Java 代码的默认字体是什么?

采纳答案by Mureinik

The default font Eclipse uses for (Java) code is Monospace.

Eclipse 用于 (Java) 代码的默认字体是 Monospace。

回答by Crenguta S

Depending on your Eclipse version, the font might differ. Go to Window-> Preferences->General->Appearance->Color and Fonts. Choose Basic->Text Font and you can hit the Edit button to change font type and font size. It will be used by several other properties below that default to this font.

根据您的 Eclipse 版本,字体可能会有所不同。转到窗口-> 首选项-> 常规-> 外观-> 颜色和字体。选择 Basic->Text Font,您可以点击 Edit 按钮更改字体类型和字体大小。它将被下面的几个其他属性使用,默认为该字体。

回答by Rajiv

The default font style eclipse is using is Consolashowever Courier Newis also a good option to go with.

默认的字体样式日食使用的ConsolasCourier New也是一个不错的选择一起去。