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
and first of: thanks a LOT for creating this awesome AI helper! It's really like having your senior developer live right in your Git repo - truly amazing!
I did notice, though, that the output in the VSCode terminal is "broken" in the sense that it repeatedly lists the same chunks of prose and code over and over again. I think it happens each time there's code involved:
As far as I can tell the problem is that vscode doesn't provide a fully capable terminal.
Aider should be turning off fancy output when run inside vscode. Is that not working for you?
hmmm... so it's a limitation in the vscode terminal vs aider. I was thinking it might be related to the rich library, so I was hoping it would be fixed soon.
aider does turn off the fancy output, which works as a workaround; however, it makes the output hard to read, so I'm not a big fan of it.
Activity
paul-gauthier commentedon Jul 18, 2023
Thanks for trying aider and reporting this issue.
You might want to try running with
--no-pretty. The install instructions mention this helps in VSCode:https://aider.chat/docs/install.html#add-aider-to-your-editor-optional
paul-gauthier commentedon Jul 19, 2023
I asked aider to disable pretty if it detects that it is running inside a VSCode terminal.
I've merged a fix into the main branch. You can get it by installing the latest version from github:
If you have a chance to try it, let me know if it works better for you.
paul-gauthier commentedon Jul 20, 2023
I'm going to close this issue for now, but feel free to re-open or file a new issue any time.
fahmad91 commentedon Dec 18, 2023
@paul-gauthier Any plans for a permanenet fix for this?
paul-gauthier commentedon Dec 18, 2023
As far as I can tell the problem is that vscode doesn't provide a fully capable terminal.
Aider should be turning off fancy output when run inside vscode. Is that not working for you?
fahmad91 commentedon Dec 18, 2023
hmmm... so it's a limitation in the vscode terminal vs aider. I was thinking it might be related to the rich library, so I was hoping it would be fixed soon.
aider does turn off the fancy output, which works as a workaround; however, it makes the output hard to read, so I'm not a big fan of it.
paul-gauthier commentedon Dec 18, 2023
You can always run aider in a real terminal window beside your vscode window.