PhpStorm + MacOS: Trying to enter pipe into commit message performs commit
I've had a problem with typing certain special characters in the commit message in PHPStorm on MacOS. I'm using the danish keyboard layout, where Option+I would create the pipe character “|”. Unfortunately the so called mnemonics kick in and perform the default action, which is to perform the commit.
However, I just found the solution in an issue in the JetBrains issue tracker: https://youtrack.jetbrains.com/issue/IJPL-114260/OS-X-Impossible-to-enter-character-in-Git-username-is-not-defined-dialog-when-committing. You can disable the Alt/Option mnemonics by
- Opening “Help | Edit Customer Properties”
- Insert “ide.mac.mnemonic.without.ctrl=false” on a new line
- Save the file and restart PhpStorm
The same procedure most probably also applies to WebStorm, IntelliJ and other IDEs on the IntelliJ platform.
This website uses Disqus for displaying comments. Due to privacy regulations you need to explicitly consent to loading comments from Disqus.
Show comments