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
Looking at the git log of a bunch of aider commits, I see a lot of red due to whitespace errors (e.g. lines with just a bunch of spaces in them). I'm guessing this is an issue for most programming languages (I'm using Rust and C++).
It would be nice if aider either could clean this up itself before committing, or support common code formatting tools (clang-format, rustfmt, ...) to automatically do this before committing.
Version and model info
Aider v0.70.0
Main model: claude-3-5-sonnet-20241022 with diff edit format, infinite output
Weak model: claude-3-5-haiku-20241022
Git repo: .git with 46 files
Repo-map: using 1024 tokens, auto refresh
The text was updated successfully, but these errors were encountered:
support common code formatting tools (clang-format, rustfmt, ...) to automatically do this before committing.
To be clear, I'm aware this could potentially be done with hooks, but that's not appropriate for all codebases. Still, the code that aider writes could be cleaned up.
Issue
Looking at the git log of a bunch of aider commits, I see a lot of red due to whitespace errors (e.g. lines with just a bunch of spaces in them). I'm guessing this is an issue for most programming languages (I'm using Rust and C++).
It would be nice if aider either could clean this up itself before committing, or support common code formatting tools (clang-format, rustfmt, ...) to automatically do this before committing.
Version and model info
Aider v0.70.0
Main model: claude-3-5-sonnet-20241022 with diff edit format, infinite output
Weak model: claude-3-5-haiku-20241022
Git repo: .git with 46 files
Repo-map: using 1024 tokens, auto refresh
The text was updated successfully, but these errors were encountered: