You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In neovim, I search for all the implementations of a function using my LSP, and all of those references get added to the quickfix list. I would love to be able to send all the files in my quickfix list to my running aider instance in the terminal, to perform an operation over those files.
I highlight a block of code, I'd love to be able to send that text selection to aider to ask questions about it or refactor it.
I know I can put comments in my code to give aider some of the context, but it still needs to traverse the repo map to find all reference/implementations, and doesn't always get it right. Being able to use my LSP to find references and send those files directly to aider feels like the best of both worlds between LSP and generative AI.
I don't mind using aider in the terminal exactly as it is today, I just wish I could provide a flag that spins up a server (or listens on a socket) and enables an API for adding files from another process.
The text was updated successfully, but these errors were encountered:
I would be fine if this was added to --browser mode as well, since that already spins up a server. I'm also happy to help if the maintainers feel this is worthwhile?
Ideally 'aider' should expose an OpenAI chat completions compatible API - this would open the tool to be used from any IDE no matter if it is VSCode or Emacs or vim - https://platform.openai.com/docs/api-reference/chat
Here is my use case:
I know I can put comments in my code to give aider some of the context, but it still needs to traverse the repo map to find all reference/implementations, and doesn't always get it right. Being able to use my LSP to find references and send those files directly to aider feels like the best of both worlds between LSP and generative AI.
This case has come up a few times already:
I don't mind using aider in the terminal exactly as it is today, I just wish I could provide a flag that spins up a server (or listens on a socket) and enables an API for adding files from another process.
The text was updated successfully, but these errors were encountered: