11

I use IntelliJ IDEA for scala development on my macbook air. However, there is one very irritating feature: OS-X pinch two fingers to zoom changes the font size. I would like to disable this because it always happens unintentionally. Does anyone knows how to disable it?

Edit: See comments for the solution.

Karolis
  • 1,558
  • 1
  • 14
  • 23

2 Answers2

17

In addition to the answer by @CrazyCoder above, in order to access this Registry property on Mac OSX (tested on Mavericks):

  • at source code area, use the shortcut Cmd+Opt+Shift+/
  • select the 2nd option Registry
  • then you can find the attribute actionSystem.mouseGesturesEnabled, unclick the value column
Rae
  • 171
  • 1
  • 4
  • Excellent! this works for me following a restart of IntelliJ and the Registry option is now the 1st option, at least for version 2020.2 – user1881282 Nov 25 '20 at 16:51
16

Try to disable Preferences | Editor | Change font size (Zoom) with Command+Mouse Wheel.

EDIT: it doesn't have effect on the trackpad pinch to zoom, but there is a hack to disable trackpad gestures via the IDE Registry:

actionSystem.mouseGesturesEnabled = false

Community
  • 1
  • 1
CrazyCoder
  • 389,263
  • 172
  • 990
  • 904