Intellij-idea: auto-repetition of letter keys

后端 未结 3 1161
傲寒
傲寒 2021-01-30 11:09

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

3条回答
  •  北海茫月
    2021-01-30 11:48

    I had the same issue on macos 10.12.6 using PyCharm Pro 2017.3, one of JetBrains products. Using danslee and Dao answers, I came up with (replace PyCharm by the name of the application you are using):

    1. Quit the JetBrains application,
    2. Find the name of the parameter that controls the key repetition by editing the file /Applications/PyCharm.app/Contents/Info.plist and looking for the value of the key CFBundleIdentifier. This is the parameter I found: com.jetbrains.pycharm, it might be different for you,
    3. Set the parameter found to the desired value: $ defaults write com.jetbrains.pycharm ApplePressAndHoldEnabled -bool true. true will set auto-repeat, false will set no auto-repeat,
    4. You can check the value of the parameter by doing this: $ defaults read > defaults_read.txt and look for 'ApplePressAndHoldEnabled' in defaults_read.txt,
    5. Run the application and check.

提交回复
热议问题