Android Studio mouse scroll to set font size

In IntelliJ IDEAseries products, the font size of the text can be set using the mouse wheel. Methods as below:

  1. Place the cursor where you want to change the font size in the text editor.
  2. Hold down the Ctrl key (Windows and Linux) or Command key (Mac) on your keyboard.
  3. Use the mouse wheel to adjust the font size up or down.
  4. Release the Ctrl or Command key to apply the new font size.

By default, IntelliJ IDEAthe 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 Ctrlthe or command key Commandand the mouse wheel to adjust the font size.
Editor scaling settings will now control font size adjustments.

A picture is worth a thousand words

insert image description here

Guess you like

Origin blog.csdn.net/aikongmeng/article/details/129160945