how to change the font size for your code in intellij
To change font size using the keyboard on IntelliJ IDEA
In Windows or Linux press Ctrl+Shift+A
In MAC press CMD+Shift+A
In the popup frame, type Increase font size or Decrease font size, and then click Enter.
Font grows larger or smaller.