From adcfbf5d850277d211acd4e454bc6046e27980c6 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 21 May 2023 14:26:46 -0700 Subject: [PATCH] copy --- docs/ctags.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/ctags.md b/docs/ctags.md index 8e8456fc2..77e7fcf4b 100644 --- a/docs/ctags.md +++ b/docs/ctags.md @@ -80,11 +80,11 @@ relevant files for the task at hand. Under the hood, `aider` uses [universal ctags](https://github.com/universal-ctags/ctags) to build the -map. Universal ctags can scan source code in a large variety of +map. Universal ctags can scan source code written in a large variety of languages, and extract data about all the symbols defined in each file. -For example, here is the `ctags --fields=+S --output-format=json` output for the `main.py` mapped above: +For example, here is the `ctags --fields=+S --output-format=json` output for the `main.py` file mapped above: ```json { @@ -104,14 +104,14 @@ For example, here is the `ctags --fields=+S --output-format=json` output for the } ``` -The map is built using the `name`, `path`, `scope`, `kind` and -`signature` data from `ctags`. The map is formatted is a sorted, +The repo map is built using the `name`, `path`, `scope`, `kind` and +`signature` data from `ctags`. The map is formatted as a sorted, hierarchical tree to efficiently convey the data to GPT-4 using a minimal number of tokens. -## Trying it out +## Try it out -To use the repo map feature with `aider`: +To use this experimental repo map feature with `aider`: - Install [universal ctags](https://github.com/universal-ctags/ctags). - Run `aider` with the `--ctags` option.