aider icon indicating copy to clipboard operation
aider copied to clipboard

Adding many files is a pain

Open onigetoc opened this issue 1 year ago • 1 comments

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.

onigetoc avatar Sep 15 '24 20:09 onigetoc

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.

fry69 avatar Sep 16 '24 04:09 fry69

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.

paul-gauthier avatar Sep 20 '24 19:09 paul-gauthier

what a pain e.g. before I can proceed please add the following files. Goodness me how hard is it to load those files. I think I'll try one of the other plethora of agents.

TellyBellyGit avatar Sep 10 '25 18:09 TellyBellyGit