leona / helix-gpt

Code assistant language server for Helix with support for Copilot/OpenAI/Codeium/Ollama
MIT License
285 stars 19 forks source link

[Request] Expose workspace command to temporarily disable suggestions (and code actions) #10

Closed jpaju closed 5 months ago

jpaju commented 5 months ago

First of all, thanks for the amazing work! Not having Copilot in Helix was really an issue for me, but not anymore 🙏

Sometimes I'd like to temporarily disable the copilot/GPT suggestions, when it is making too many or irrelevant suggestions. Currently I'm not aware that there are any other way of accomplishing this than modifying the languages.toml file. I think it would be nice if the LSP would expose a workspace command, which could be executed from Helix using the :lsp-workspace-command.

What do you think?

leona commented 5 months ago

Hey thanks for the suggestion. I think that's reasonable, I'll take a look at implementing it today.

leona commented 5 months ago

Ok unfortunately it might not make sense to add this right now. Commands don't show up for me in that list, and I found out why https://github.com/helix-editor/helix/issues/9017 I'll add this to the todo list for when it's possible

jpaju commented 5 months ago

Alright, thanks for looking into this!