aider icon indicating copy to clipboard operation
aider copied to clipboard

Any way to output the repo-map?

Open vlrevolution opened this issue 1 year ago • 7 comments

Issue

I'd love to see the repo-map, how to display/copy it?

Version and model info

latest

vlrevolution avatar Sep 16 '24 10:09 vlrevolution

You can output the repository map with either

  • aider --show-repo-map from outside aider (but you need to be inside the git repository folder)
  • /map from inside aider

fry69 avatar Sep 16 '24 10:09 fry69

Thanks!

vlrevolution avatar Sep 16 '24 10:09 vlrevolution

I am a bit confused by how the map is created. It is adding things there that are not even added as files. I add /src but it is shopwing stuff from root dir and actually nothing from /src

could you explain how to understand the map?

vlrevolution avatar Sep 16 '24 10:09 vlrevolution

This document may help -> https://aider.chat/docs/repomap.html#optimizing-the-map

Please note that this is a GitHub issue and not a discussion channel. Please join the Discord for general questions around aider.

fry69 avatar Sep 16 '24 11:09 fry69

I read it but it doesn't say anything about added files vs non added files

vlrevolution avatar Sep 16 '24 11:09 vlrevolution

Files you add to the chat are NOT part of the repo map. Because the repo map only shows things which aren't in the chat.

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

I see, that actually does make a lot of sense :D

On Fri, Sep 20, 2024 at 10:44 PM paul-gauthier @.***> wrote:

Files you add to the chat are NOT part of the repo map. Because the repo map only shows things which aren't in the chat.

— Reply to this email directly, view it on GitHub https://github.com/paul-gauthier/aider/issues/1564#issuecomment-2364508814, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQC2ZKVZXJJX4TVT5EKST53ZXR3IHAVCNFSM6AAAAABOI66GUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRUGUYDQOBRGQ . You are receiving this because you authored the thread.Message ID: @.***>

vlrevolution avatar Sep 20 '24 22:09 vlrevolution

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 Oct 07 '24 20:10 paul-gauthier