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

Feature Request: Enhanced Documentation Support for 3rd party repos in Aider #2762

Open
lockmeister opened this issue Jan 3, 2025 · 0 comments

Comments

@lockmeister
Copy link

lockmeister commented Jan 3, 2025

Enhance Aider's functionality to better handle and interpret documentation within repositories, specifically by:

  1. Extending /help for Documentation Indexing:

    • Enable the /help command to index and query the /docs directory of repositories, facilitating efficient access to project documentation. I.e /help is not just for aider, it can also be used to understand 3rd party repos.
  2. Improving Repo-Map Construction for Markdown-Only Repositories:

    • Enhance the repository mapping feature to accurately parse and represent the structure of markdown files, providing a comprehensive overview of documentation alongside code.

Benefits:

  • Streamlined access to project documentation directly within the terminal.
  • Improved understanding of codebases through integrated documentation mapping.

Implementation Considerations:

  • Utilize tools like Tree-sitter to parse markdown files, extracting elements such as headings, lists, and code blocks to construct a detailed repo map.
  • Ensure that the enhanced repo map integrates seamlessly with existing code structures, providing a unified view of the repository.

By implementing these enhancements, Aider can become a more versatile tool, enabling both code understanding and code editing.

Aider version: 0.70.0
Python version: 3.12.3
Platform: Linux-6.8.0-51-generic-x86_64-with-glibc2.39
Python implementation: CPython
Virtual environment: Yes
OS: Linux 6.8.0-51-generic (64bit)
Git version: git version 2.43.0

Aider v0.70.0
Model: deepseek/deepseek-coder with diff edit format, prompt cache, infinite output
Git repo: .git with 3 files
Repo-map: using 1024 tokens, auto refresh

@lockmeister lockmeister changed the title Feature Request: Enhanced Documentation Support in Aide Feature Request: Enhanced Documentation Support in Aider Jan 3, 2025
@lockmeister lockmeister changed the title Feature Request: Enhanced Documentation Support in Aider Feature Request: Enhanced Documentation Support for 3rd party repos in Aider Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant