Keyboard shortcut to change font size in Eclipse?

前端 未结 10 1492
南方客
南方客 2020-11-30 17:59

It is relatively straightforward to change font sizes in Eclipse through preferences (and answered several times in this forum).

However I\'d like to change font si

相关标签:
10条回答
  • 2020-11-30 18:22

    I use an Eclipse plugin (in Eclipse Marketplace) https://marketplace.eclipse.org/content/fontsize

    0 讨论(0)
  • 2020-11-30 18:25

    Here's a quicker way than multi-layer menus without resorting to plug-ins:

    Use the Quick Access tool at the upper left corner.

    Type in "font", then, from the list that drops down, click on the link for "Preferences->Colors and Fonts->General->Appearance".

    One click replaces the 4 needed to get there through menus. I do it so often, my Quick Access tool pulls it up as a previous choice right at the top of the list so I can just type "font" with a tap on the enter key and Boom!, I'm there.

    If you want a keyboard shortcut, Ctrl+3 sets the focus to the Quick Access tool. Better yet, this even automatically brings up a list with your previous choices. The last one you chose will be on top, in which case a simple Ctrl+3 followed by enter would bring you straight there! I use this all the time to make it bigger during long typing or reading sessions to ease eye strain, or to make it smaller if I need more text on the screen at one time to make it easier to find something.

    It's not quite as nice as zooming with the scroll wheel or with a simple Ctrl+ or Ctrl-, but it's a lot better than navigating through the menus every time!

    0 讨论(0)
  • 2020-11-30 18:26

    Windows > Preferences > General > Appearance > Colors and Fonts

    Then, to change Java editor font: Java > Java Editor Text Font > EDIT

    There it is.

    0 讨论(0)
  • 2020-11-30 18:27

    Oddly, working on a .js file and Ctrl, Shift, += works to zoom in (and Ctrl - works to zoom out but you have to select 1 or 2 after Ctrl -). This only works when I'm in the js file but the zoom applies to all my open tabs. Using Eclipse Juno on Ubuntu.

    0 讨论(0)
提交回复
热议问题