IntelliJ IDEA disable font increase/decrease on CM

2019-03-10 12:46发布

问题:

I am using IntelliJ IDEA 9.0.2 on Mac OS X - with the Magic Mouse. Whenever I press the command button and move my finger a micrometer or two on the surface of the mouse, IDEA immediately increases or decreases my font size rapidly. How can I disable this feature?

回答1:

Settings | Editor | Enable Ctrl+MouseWheel changes font size

(On Mac it would be Preferences | Editor | General | Enable CMD+MouseWheel changes font size.)



回答2:

IntelliJ IDEA 14.1

By default it is disabled and it can be found here:

File > Settings... > Editor > General > Change font size (Zoom) with Ctrl+Mouse Wheel

The option is still there in IntelliJ IDEA 15 EAP.



回答3:

in Linux, before IDEA 11 i used Ctrl+ScrollWheel for change font size but now in IDEA 11 this feature has been removed