11

I would like to zoom in on text for presentations or when I need to focus on one function within the code.

How can I do this on a Mac OS?

dmcgill50
  • 1,100
  • 3
  • 12
  • 26

2 Answers2

15

UPDATED 13JUN22:

It seems that a newer version of IDEA causes the steps listed here to not find Zoom keyword.

Instead, search for font size and make sure you are in the Editor > General section. Click the checkbox and you're off an running again.

enter image description here


I found that you can enable this feature within IntelliJ by opening Preferences(⌘,) > click in the search and then enter the word zoom. Check the box for Change font size (Zoom) with Command+Mouse Wheel.

image of zoom search

Now you can hold down the Command and scroll your mouse wheel to zoom in and zoom out.

dmcgill50
  • 1,100
  • 3
  • 12
  • 26
2

You can keymap the usual Cmd +/-/0 in the IntelliJ (or Android Studio) keymap settings by searching for font size in the keymap. Go ahead and set it as shown in the screenshot, and IntelliJ will ask you whether you want to remove it from other assignments.

This works well and it should be the default! Screenshot of font size settings from IntelliJ

Dhiraj Gupta
  • 121
  • 3