paul-gauthier / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
18.62k stars 1.72k forks source link

Adding many files is a pain #1553

Open onigetoc opened 3 days ago

onigetoc commented 3 days ago

Issue

I just try to add files and it take so long, This is why Aider should be a IDE plugin click and adding files. (IDE, Probably not possible because is Python) I thought it was smart enough to at least add all files from a directory /add src\components*
But no, I want to add a dozen of files but is so long. Writing long folders and files names is a pain. Often we miss typing and we redo it all again. I hate that i cannot work fast and have to write every folders and files typing theme one by one. With AI in IDE it takes seconds.

After 15 min. (And it's append every time working within a project with Aider) I'm very frustated and i want to leave it all and use less good but faster AI plugins or Cursor.

Version and model info

Aider latest. model: Any No GitHub project or repo.

fry69 commented 3 days ago

Thank you for filing this issue.

This doc may be helpful -> https://aider.chat/docs/faq.html#how-can-i-add-all-the-files-to-the-chat

It is also possible to add files and folder on the command line like this

aider src/components src/app src/utils/*.ts

But keep in mind that his will possibly add a lot of files and mess up your context.

Another approach is iteratively build your context this way:

/ask I want to create feature X. Please make a plan for the necessary changes, but first ask me for additional files you need to look at.

This will the LLM allow to think about the problem and together with the repository map come up with a list of files it needs to look at.