How to access mnemonics in Intellij 2017+ on Mac?

前端 未结 2 1355
执笔经年
执笔经年 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.

    0 讨论(0)
  • 2021-02-10 02:04

    Thanks to Serge Baranov of JetBrains : we now have a solution

    Add the following to Custom VM Options

    -Dide.mnemonic.helper.old=true
    

    In addition a fix will be added to 2017.2

    0 讨论(0)
提交回复
热议问题