-
Notifications
You must be signed in to change notification settings - Fork 13
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
Failure when using the --watch-files
feature
#25
Comments
I thought maybe that |
Thanks for sharing. This feature looks interesting. Will look into it. |
Confirmed the exception.. it might because comint buffer is not a full functional term. |
Seems that adding the following code to commands.py in aider, can add a new command /process-comment-ai, it will manually scan added files and do the magic. tested in aider code base.
I tested and it seems work for me. This will need to change the aider code base. not sure if it is OK. If it is doable, from emacs side we can add a short cut to send aider session the command which trigger the magic |
That sounds like a nice way of dealing with it. Will you put together a PR for |
Opened this PR: Aider-AI/aider#2641, wish it can be accepted. |
found that this command can somehow do the simple case for the AI comment:
Yeah it is definitely not as good as the aider code base implementation. The watch.py do have lots of logic to handle different cases in detail. |
Seems that recent aider update in 0.71.0: Turn off fancy input and watch files if terminal is dumb. Not sure if it help on this case? |
No, it only seems to mean that passing I still think your suggestion, and PR, to add a command to "run" the comments is the most elegant and appealing solution. Upstream does seem hesitant though. |
Aider has gained the ability to watch for commands in comments and act on them (documented here). Unfortunately enabling that in
aider.el
isn't working, it causes the following exceptionIt would be absolutely wonderful to have this feature work with
aider.el
.The text was updated successfully, but these errors were encountered: