How to access mnemonics in Intellij 2017+ on Mac?

前端 未结 2 1362
执笔经年
执笔经年 2021-02-10 01:00

There is some evidence in the Intellij codebase they support ALT(/Meta)+CTL - (mnemonic) in Mac.

E.g: in platform/platform-

2条回答
  •  终归单人心
    2021-02-10 02:04

    Make sure mnemonics are not disabled in IntelliJ IDEA settings:

    By default mnemonics should work with Ctrl+Alt and Alt on Mac.

    If you prefer only Ctrl+Alt, add -Dide.mac.alt.mnemonic.without.ctrl=false in Help | Edit Custom VM Options (Processes Alt-based shortcuts for mnemonics in addition to Ctrl+Alt-based shortcuts. Affect MacOS only.)

    There is also a bug in IntelliJ IDEA 2017.1.x versions which causes mnemonics to work via Alt in dialogs, but not in the menu. Adding -Dide.mnemonic.helper.old=true in Help | Edit Custom VM Options will workaround this issue. The fix will be available in 2017.2.x.

提交回复
热议问题