Exafunction / CodeiumJetBrains

Codeium JetBrains Plugin
MIT License
41 stars 13 forks source link

Would it be possible to add a passive mode and allow to bind the completion trigger to an action like CodeiumComplete? #6

Open Dima-369 opened 6 months ago

Dima-369 commented 6 months ago

I love to use your extension inside PhpStorm, thank you!

I just have one issue with it and wanted to report it. Mostly that it doesn't work nicely with the IdeaVim plugin (Vim emulation for the Jetbrains IDEs). Many times, I need to hit Escape twice, first to dismiss the Codeium suggestion and then to actually enter Command mode in vim. This often interrupts my flow as Codeium's suggestions take some time to show up, sometimes when I'm in the middle of typing other keystrokes, and this can destroy my Vim muscle memory.

I was wondering if you would be willing to implement a "passive" mode for Codium, where it only shows suggestions when the user wants it to, and doesn't always show the suggestions actively. Optimally implemented with an action (for the Double Shift popup) because such an action could be mapped inside .ideavimrc like this:

map <leader>c <Action>(CodeiumComplete)