In IntelliJ IDEA
series products, the font size of the text can be set using the mouse wheel. Methods as below:
- Place the cursor where you want to change the font size in the text editor.
- Hold down the Ctrl key (Windows and Linux) or Command key (Mac) on your keyboard.
- Use the mouse wheel to adjust the font size up or down.
- Release the Ctrl or Command key to apply the new font size.
By default, IntelliJ IDEA
the font size is increased or decreased by one point for each wheel notch. You can change this behavior by adjusting the editor zoom settings. Methods as below:
Go to File
> Settings (on Windows and Linux) or IntelliJ IDEA
> Preferences
(on Mac).
Select Editor
> General
> Change font size (Zoom) with Ctrl+Mouse Wheel.
Check the box next to the option to enable it.
Use Ctrl
the or command key Command
and the mouse wheel to adjust the font size.
Editor scaling settings will now control font size adjustments.