Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Intellij IDEA on mac: how to disable pinch gesture for zooming

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.

like image 524
Karolis Avatar asked Jul 24 '13 14:07

Karolis


2 Answers

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
like image 84
Rae Avatar answered Oct 17 '22 09:10

Rae


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

like image 21
CrazyCoder Avatar answered Oct 17 '22 09:10

CrazyCoder