MacOs Swiss/French keyboard annoying conflict
Answered
This is a small thing, but reeeeeeeally annoying...
In IntelliJ 2021.1 if you press `option + g` you get the Git menu, but unfortunately on the Swiss/French keyboard you use that combination to type `@`. So, every time I want to add an annotation, the git menu opens and I have to click somewhere to get rid of it.
Is there anything that I can do to avoid this annoying behavior?
Please sign in to leave a comment.
Hi,
This and similar keyboard layout-related issues are discussed in IDEA-165950. The solution is work-in-progress.
See if workarounds suggested in this comment help.
See this article if you are not familiar with YouTrack.
Thank you for your reply @..., the workarounds do not work for me (the national layout is enabled by default on mac, and even by disabling it nothing changed, and the plugin does not have a Swiss/French entry)
You are welcome @....
Guess we will have to wait for a universal solution from our dev team then.
As a shameful workaround I created a template that will actually produce a `@`, so now I type `anno` and I get `@` without the git menu opening...
As another workaround, you can just remap the Git tool window's key binding to something else under Preferences | Keymap, and remove the Option+G shortcut.
The problem is that it is not an IntelliJ shortcut, in fact under Keymap I have Command + 9, it is a MacOS thing, most likely because the Git menu starts with "G" and by pressing Option + G I am activating the Mac shortcuts for the topbar that use the initial letter to select a value (with Option + F I get File, etc).
As far as I know, I cannot configure that on MacOs they just work in this way (but I am not a Mac expert).
Hmm, see if maybe disabling the following option helps:
Aah! It works! Thanks @... !
Happy to help @....
Sorry for thinking it was a different issue at first.