macOS: keymap changed in 2017 (foreign keyboard layout)

Answered

Actually, it looks like it's sort-of-working as intended, still it disrupts a bit my workflow ;)

e.g. I used to type Cmd+- on my Italian keyboard, and get "Comment with Line Comment". In fact, this has always been bound to "Cmd+/", but it looked like IntelliJ assumed for some reason a US keyboard layout, where "/" is located where "-" is on the Italian layout.

Since 2017 IntelliJ has started honoring my Italian layout, so Cmd+- gets me (correctly) "Collapse".

So I tried hitting Cmd+/; unfortunately, "/" on an Italian keyboard is "Shift+7". But if I hit CMD+SHIFT+7 IntelliJ registers... well, CMD+SHIFT+7, so "Comment" won't fire.

So any way to "fix" this without having to rebind everything (which I -- of course -- can do) ? can I fall back to the old "wrong" mechanism? (i.e., assuming a US layout for keybindings)

Thanks!

 

0
1 comment
Avatar
Permanently deleted user

Found the workaround I was looking for https://youtrack.jetbrains.com/issue/IDEA-165950#comment=27-2053321

> To enable OpenJDK behaviour
> Please, go to Help -> Edit Custom Properties
> Add the next property into the file
> com.jetbrains.use.old.keyevent.processing=true

2

Please sign in to leave a comment.