PyCharm 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:
- Enabling zooming
- Changing font size with the mouse wheel
- Changing font size with the keyboard
- Restoring default font size
- Open the IDE Settings dialog.
- On the Editor page, make sure that the setting Change font size (Zoom) with Ctrl+MouseWheel is enabled.
- Place the caret in the editor.
- 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.
The OS X users can use trackpad "Pinch-to-Zoom" gesture to change size of the font and the whole editing area.
- Press Ctrl+Shift+A.
- In the popup frame, type Increase font size or Decrease font size,
and then click Enter.
Font grows larger or smaller.
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.
- Press Ctrl+Shift+A.
- In the popup frame, type Reset font size, and click Enter.
The default font size is restored.
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.