Skip to content

Commit

Permalink
repo-map
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gauthier committed Jun 6, 2024
1 parent c5e127d commit 0b7bee8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions website/docs/repomap.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
title: Building a better repository map with tree sitter
title: Repository map
excerpt: Tree-sitter allows aider to build a repo map that better summarizes large code bases.
highlight_image: /assets/robot-ast.png
nav_exclude: true
nav_order: 95
---
{% if page.date %}
<p class="post-date">{{ page.date | date: "%B %d, %Y" }}</p>
Expand Down
4 changes: 1 addition & 3 deletions website/docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,12 @@ Be selective, and just add the files that the LLM will need to edit.
If you add a bunch of unrelated files, the LLM can get overwhelmed
and confused (and it costs more tokens).
Aider will automatically
share snippets from other, related files with the LLM so it can
share snippets from related files with the LLM so it can
[understand the rest of your code base](https://aider.chat/docs/repomap.html).

You can also just launch aider anywhere in a git repo without naming files.
You can then add and remove files in the chat
with the `/add` and `/drop` [chat commands](/docs/commands.html).
If you or the LLM mention any of the repo filenames,
aider will ask if you'd like to add them to the chat.

See info about how to [connect to LLMs](/docs/llms.html) for information on
telling aider which model to use.
Expand Down
5 changes: 3 additions & 2 deletions website/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ $ aider --opus
- New features, changes, improvements, or bug fixes to your code.
- New test cases, updated documentation or code refactors.
- Paste in a GitHub issue url that needs to be solved.
- Aider will edit your files.
- Aider [automatically git commits changes](https://aider.chat/docs/faq.html#how-does-aider-use-git) with a sensible commit message.
- Aider will edit your files to complete your request.
- Aider [automatically git commits](https://aider.chat/docs/faq.html#how-does-aider-use-git) changes with a sensible commit message.
- Aider works with [most popular languages](https://aider.chat/docs/languages.html): python, javascript, typescript, php, html, css, and more...
- Aider works well with GPT-4o, Claude 3 Opus, GPT-3.5 and supports [connecting to many LLMs](https://aider.chat/docs/llms.html).
- Aider can make coordinated changes across multiple files at once.
Expand All @@ -63,6 +63,7 @@ Aider will notice and always use the latest version.
So you can bounce back and forth between aider and your editor, to collaboratively code with AI.
- Images can be added to the chat (GPT-4o, GPT-4 Turbo, etc).
- URLs can be added to the chat and aider will read their content.
- [Code with your voice](https://aider.chat/docs/voice.html) using speech recognition.


## Documentation
Expand Down

0 comments on commit 0b7bee8

Please sign in to comment.