Karolis
Karolis

Reputation: 1577

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.

Upvotes: 13

Views: 3885

Answers (2)

Rae
Rae

Reputation: 171

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

Upvotes: 17

CrazyCoder
CrazyCoder

Reputation: 401975

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

Upvotes: 18

Related Questions