12

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?

3 Answers 3

16

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.

2
  • 1
    Thanks! But how do I restore to the default size? Commented Dec 5, 2021 at 17:07
  • Looks like a new question is in order. 👍
    – dmcgill50
    Commented Feb 2, 2022 at 1:24
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

0

2023
Ubuntu
File >Settings > General (CTRL+ALT+S (small s will not work )) > Mouse Control > Change font size with Ctrl+Mouse Wheel in: All editors

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .