How to access mnemonics in Intellij 2017+ on Mac?

There is some evidence in Intellij code that they support ALT

(/ Meta) + CTL

- (mnemonic)

on Mac.

For example, in platform/platform-api/src/com/intellij/openapi/MnemonicWrapper.java

  if (SystemInfo.isMac && Registry.is("ide.mac.alt.mnemonic.without.ctrl")) {

      

And the corresponding value resource

in is ./platform/util/resources/misc/registry.properties

set to true

:

ide.mac.alt.mnemonic.without.ctrl=true

      

However pressing these two modifier keys along with .. say .. F

(for File

in the main menu) doesn't work for me on Sierra

with the latest 2017.1

intellij.

Is this supposed to work? Is there any other way to make the mnemonic work on Mac.

Note: please do not comment / reply "Mnemonics are deprecated / not supported on Mac". I am more than well aware of this terrible OS / X flaw. However, in previous versions of Intellij it was possible for him to use mnemonics on Mac: and it would be a great incentive to get them working again.

Update Issue A has YouTrack

been requested by the Intellij Jetbrains support manual. Here https://youtrack.jetbrains.com/issue/IDEA-175624

CTRL-ALT- (Mnemonic) works.

JetBrains host Serge Baranov also mentioned that ALT- (Mnenomic) should work. It didn't / didn't for any of my laptops in 2017.X.

The Jetbrains support team led by Serge Baranov worked hard on this, but were unable to reproduce. I expressed my surprise that half a dozen installations on my side were not working. Apparently for their testing team, this actually works. One of my Macs was factory new in June 2017 with Sierra and I installed IJ Ultimate 2017.1 without any changes by default. This does not work.

It is unclear what conditions were required for Alt-Mnemonics to work on 2017.X.

* Another update * . Jetbrains provided a fix for this: see the last answer.

+3


source to share


2 answers


Make sure mimics are not disabled in IntelliJ IDEA settings:

mnemonics

By default, mnemonics should work with Ctrl+ Altand Alton Mac.



If you only prefer Ctrl+ Alt, add -Dide.mac.alt.mnemonic.without.ctrl=false

to Help

| Edit Custom VM Options

(Handles Alt keyboard shortcuts for mnemonics in addition to Ctrl + Alt keyboard shortcuts. Affects MacOS only.)

There is also a bug in IntelliJ IDEA 2017.1.x versions that causes mnemonics to work through Altdialogs, but not menus. Adding -Dide.mnemonic.helper.old=true

to Help

| Edit Custom VM Options

will work around this problem. A fix will be available in 2017.2.x.

+1


source


Thanks to Sergey Baranov JetBrains: now we have a solution

Add to Custom VM Options



following:
-Dide.mnemonic.helper.old=true

      

Also, the fix will be added to 2017.2

0


source







All Articles