通过首选项更改 Eclipse 中的字体大小相对简单(并在本论坛中回答过多次)。
但是我想快速更改字体大小(例如,使用 Ctrl++ 和 Ctrl+- 就像 Linux 终端中的或 MS Office 应用程序中的 Ctrl+ 鼠标滚轮)。有没有办法在 Eclipse 中做到这一点?
最佳答案
eclipse NEON (4.6)
放大
Ctrl++
或
Ctrl+=
缩小
Ctrl+-
此功能描述here :
In text editors, you can now use Zoom In (Ctrl++ or Ctrl+=) and Zoom Out (Ctrl+-) commands to increase and decrease the font size. Like a change in the General > Appearance > Colors and Fonts preference page, the commands persistently change the font size in all editors of the same type. If the editor type's font is configured to use a default font, then that default font will be zoomed.
因此,字体大小的更改不限于当前文件,并且可以在此处获取字体大小的新值窗口> 首选项> 常规> 外观> 颜色和字体。
关于eclipse - 在 Eclipse 中更改字体大小的键盘快捷键?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6948374/