-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: play nice with external editing #1533
Comments
That should already be unnecessary. aider loads all files that are part of the context before sending them to the LLM fresh from the disk. They do not get stored in memory. So if you make changes outside aider, they will be reflected the next time you send a prompt to the LLM. |
I guess it needs to check earlier then, because the changes are definitely not visible for tab completion unless I manually drop and add. |
The changes may not be visible to autocomplete, but the files get read from disk before they get sent to the LLM. You definitely do not need to As long as the files are part of the repository, aider will see and know them. If possible, commit your changes after editing them from outside before you switch to aider again. |
You're right, it's reloading before sending to the LLM. Only autocomplete gets confused. |
You could also just press ENTER in aider to start a new blank prompt. That will refresh the autocompleter. |
I'm going to close this issue for now, but feel free to add a comment here and I will re-open. Or feel free to file a new issue any time. |
Issue
My aider workflow is
Currently I have to /drop and re-/add files that I changed in my IDE. Could aider automatically reload files that changed on disk since its last edit? I'm happy to take a stab at this.
Version and model info
Aider v0.56.0
The text was updated successfully, but these errors were encountered: