Using Intellij-Idea 12 on OS X, I have a strange problem: when I keep a letter ([a-z]) key pressed in the editor, the key stroke does not repeat. This is unfortunately a problem since I would like to use the vim plug-in, and to use the keys h,j,k,l to move the cursor around.
Other, non-letter keys do produce repetition when kept pressed. On Ubuntu 12.04 I don't encounter this problem either.
Is this any option thing? Anyone know where to set preferences of key stroke repetition?
Click Launch, then choose Preferences -> Accessibility -> Keyboard. Click on the Basic tab. Select the Enable Repeat Keys option. Use the Delay slider or spin box to specify the duration for which you must press a key before the keyboard interprets the action as a repeat key.
If you choose Code | Reformat Code from the main menu or press Ctrl+Alt+L , IntelliJ IDEA tries to reformat the source code of the specified scope automatically. For more details on how to reformat, or exclude files from formatting, refer toReformat code.
In past IntelliJ versions, ctrl+shift+f would search the entire project (no matter whether you had at some point used "find in path").
You can change also be more specific and change the behavior for only IntelliJ with the following command. The -g option in the above solution changes it for all applications.
defaults write com.jetbrains.intellij ApplePressAndHoldEnabled -bool false
For the 14.x community edition, you may need to use a different URI:
defaults write com.jetbrains.intellij.ce ApplePressAndHoldEnabled -bool false
This works for MacOSX 10.10 Yosemite and IntelliJ 13.1.6
It's a system preference not specific to Intellij IDEA:
defaults write -g ApplePressAndHoldEnabled -bool false
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With