IntelliJ IDEA 13.1 Web Help

IntelliJ IDEA makes it possible to change font size (zoom) in the active editor, and reset font size to the default value. These operations apply to the active editor only. In the other editor tabs, font size is not affected.

In this section:

To enable changing font size in the editor
  1. Open the IDE settings dialog.
  2. On the Editor page, make sure that the setting Change font size (Zoom) with Ctrl+MouseWheel is enabled.
To change font size using the mouse wheel
  1. Place the caret in the editor.
  2. While keeping the Ctrl key pressed, rotate the mouse wheel. As you rotate the mouse wheel forward, font size grows larger; as you rotate the mouse wheel backwards, font size decreases.
    11.1+

    The MacOS users can use trackpad "Pinch-to-Zoom" gesture to change size of the font and the whole editing area.

13.0+
To change font size using the keyboard
  1. Press Ctrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+ICtrl+Shift+AShift Command AShift Command ACommand 3.
  2. In the popup frame, type Increase font size or Decrease font size, and then click EnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnter.

    Font grows larger or smaller.

Tip

There are no default keyboard shortcuts associated with the actions Increase font size and Decrease font size action. However, you can create your own shortcuts as described in the section Configuring Keyboard Shortcuts.

12.0+
To reset font size
  1. Press Ctrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+Shift+ACtrl+ICtrl+Shift+AShift Command AShift Command ACommand 3.
  2. In the popup frame, type Reset font size, and click EnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnter.

    The default font size is restored.

Tip

There is no default keyboard shortcut associated with Reset font size action. However, you can create your own shortcut as described in the section Configuring Keyboard Shortcuts.

See Also

Reference:

Getting Started:

Web Resources: