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 Control+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 Control+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 Control+Alt+S to open the IDE settings and then select
.Select Change font size with Ctrl/Cmd+Mouse Wheel in:
Choose Active editor below that checkbox.
Now you can press Control 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 Control+Alt+S to open the IDE settings and then select
.Select Change font size with Ctrl/Cmd+Mouse Wheel in:
Choose All editors below that checkbox.
Now you can press Control 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 Control+Alt+S.
Use the keyboard to change font size in all documents
In the editor, press Alt+Shift+. to increase the font size globally, and Alt+Shift+, to decrease it.
GoLand displays a zoom indicator on the bottom of the editor that shows the current font size and the default one, which you can roll back.
The zoom indicator is enabled by default. To disable it, open the Settings dialog (Control+Alt+S), go to , and clear the Show zoom indicator option in the Editor section.
Use the keyboard to change font size in the current document
Press Control+Alt+S to open the IDE settings and then select
.Use the search field 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 Control+Shift+A.