Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to include empty folders/files in the "Repository Structure" for more context? #161

Closed
abdallahmansour6 opened this issue Nov 4, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@abdallahmansour6
Copy link

abdallahmansour6 commented Nov 4, 2024

First, thank you all for your work.

I was expecting the whole project structure to be included in the output file (even for empty folders and files, to give context to the LLM on how the project should evolve or what it should exactly work on).

@yamadashy
Copy link
Owner

@abdallahmansour6
Thanks for the suggestion!

You make a good point about including empty directories in the repository structure - it would indeed provide better context for LLMs about the complete project structure and organization.

I'll work on implementing this feature, likely as something like output.includeEmptyDirectories in the configuration.

Thanks for opening your issue!

@yamadashy yamadashy added the enhancement New feature or request label Nov 6, 2024
@iNerdStack
Copy link
Contributor

iNerdStack commented Nov 23, 2024

@yamadashy, has this been worked on? I am interested in working on it if you haven't or isn't assigned to anyone yet

@yamadashy
Copy link
Owner

@iNerdStack
Thanks for offering to help with this feature! And as always, thank you for your continuous contributions!

I've assigned this issue to you - please feel free to work on it! I made several commits today, so it would be helpful if you could pull the latest main branch before starting.

Let me know if you have any questions about the implementation. Looking forward to your pull request!

@yamadashy
Copy link
Owner

@abdallahmansour6
I'm happy to announce that this feature has been implemented in v0.2.4 thanks to @iNerdStack's contribution!
https://github.com/yamadashy/repomix/releases/tag/v0.2.4

Please give it a try and let us know if it meets your needs!

@iNerdStack
Copy link
Contributor

Happy to help

@yamadashy
Copy link
Owner

@abdallahmansour6
I'll close this issue. Thank you for your suggestion and please try out the new feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants