Change editor font size
The editor font size is configured as follows:
The default font size is set on the Editor | Font page of the IDE settings Ctrl+Alt+S. It will be used in the editor by for all newly opened documents, unless overridden in the current color scheme.
The default font size can be overridden in the selected color scheme. That is controlled with the Use color scheme font instead of default checkbox on the Editor | Color Scheme | Color Scheme Font page of the IDE settings Ctrl+Alt+S, and the new font size is also set on that page.
There are also several ways to change the editor font size without specifying it in the settings:
Use Ctrl/Cmd+mouse wheel to change font size in the current document
Press Ctrl+Alt+S to open the IDE settings and select Editor | General.
Select Change font size with Ctrl/Cmd+Mouse Wheel in:
Choose Active editor below that checkbox.
Now you can press Ctrl and while holding it, rotate the mouse wheel to increase or decrease the font size in the current document.
If you close and reopen the document, the font size will be reset to the default font or to the color scheme font according to your settings.
Use Ctrl/Cmd+mouse wheel to change font size for all documents
Press Ctrl+Alt+S to open the IDE settings and select Editor | General.
Select Change font size with Ctrl/Cmd+Mouse Wheel in:
Choose All editors below that checkbox.
Now you can press Ctrl and while holding it, rotate the mouse wheel to increase or decrease the font size for all documents.
When you change the font size this way, the new font size is saved in the current color scheme and will apply to all open documents as well as to the newly opened ones. If necessary, you can change it on the Editor | Color Scheme | Color Scheme Font page of the IDE settings Ctrl+Alt+S.
Use the keyboard to change font size in the current document
Press Ctrl+Alt+S to open the IDE settings and select Keymap.
Use the search box to find Increase font size, Decrease font size, and Reset font size actions.
Assign the desired shortcuts to these actions and save the changes.
Now you can use these shortcuts to manipulate font size in the current document.
As an alternative to assigning custom shortcuts, you can invoke these actions via Find Action Ctrl+Shift+A.