IntelliJ autocompletion replacing the subsequent word

前端 未结 1 1361
萌比男神i
萌比男神i 2020-12-29 03:22

I\'ve been using IntelliJ for a while now, but there\'s always been something that bothers me. Its to do with the autocomplete feature. This gif should be enough to illustra

相关标签:
1条回答
  • 2020-12-29 04:07

    This behavior depends on the key that you use to select the item from the completion list. If you press Enter, the selected item is inserted in the code before the following identifier. If you press Tab, the selected item replaces the identifier following the cursor.

    If you prefer, you can change the behavior by reassigning keyboard shortcuts for "Choose Lookup Item" and "Choose Lookup Item Replace" under Settings | Keymap.

    0 讨论(0)
提交回复
热议问题