TerminalFi / LSP-copilot

GitHub Copilot support for Sublime Text LSP plugin provided through Copilot.vim.
623 stars 25 forks source link

Completing when I press tab, even though hook_to_auto_complete_command is false #138

Closed TehShrike closed 3 months ago

TehShrike commented 3 months ago

After restarting yesterday and presumably having my ST packages updated, LSP-copilot has been auto-inserting suggested text when I press tab (my auto_complete trigger).

I am using the default "hook_to_auto_complete_command": false, settings.

jfcherng commented 3 months ago

We have no recent change related to that but honestly I don't like this plugin to use Tab key because its UI can appear aside with ST autocompletion, making press Tab a unpredictable behavior or there is no way to decide use copilot or ST completion.

Not sure how other people solve this since I use Enter for ST completion and ctrl+tab for LSP-copilot completion.

TehShrike commented 3 months ago

Yeah I already have a separate keyboard shortcut set up for "apply change", I really don't want this plugin to be inserting anything when I hit tab. Any ideas on how I can disable this behavior?

jfcherng commented 3 months ago

Yeah I already have a separate keyboard shortcut set up for "apply change", I really don't want this plugin to be inserting anything when I hit tab. Any ideas on how I can disable this behavior?

You would have to overwrite the whole plugin settings file I believe. Or maybe copy builtin ST completion keybinding to user's so it may have a higher priority I am not sure.