codota / tabnine-intellij

Jetbrains IDEs client for TabNine. Compatible with all IntelliJ-based IDEs. https://plugins.jetbrains.com/plugin/12798-tabnine
https://www.tabnine.com/install/intellij
MIT License
523 stars 64 forks source link

Distracting to use with IdeaVim in IntelliJ #21

Open wizonesolutions opened 4 years ago

wizonesolutions commented 4 years ago

I'll try to explain my issue here. I do not know what the solution is. Maybe it's simply a keyboard shortcut.

Basically, there are times when I'm in insert mode in Vim and I want to stay there. For example, I was just editing the filter criteria in a database table "file" (the thing that opens if you click a table in the Database pane in IntelliJ). I wanted to hit Enter in order to send the query. However, TabNine was popping up suggestions, so hitting Enter would have performed an autocomplete instead of submitting.

I can easily work around this by pressing Esc or Ctrl-[. But now I'm back in normal mode and must press i again before I can hit Enter to send the query. I could also click the field with the mouse to cause the autocomplete window to dismiss, but it is clunky.

I'm not really sure what the solution is here, since TabNine obviously wants to suggest things, and its suggestions are often pretty good. But this is annoying enough for me often enough that I've just disabled the plugin for now. I've found myself tending to prefer the IntelliJ suggestions (which are more integrated with the IDE) anyway in recent times.

TabNine's a good tool; don't get me wrong. I'm hoping this feedback is constructive.

Tschigger commented 4 years ago

Related to this issue. Unfortunately IntelliJ doesn't allow you to disable the Enter key for accepting suggestions. So disabling TabNine suggestions for certain symbols (like , or ;), as proposed here, would solve this issue.