diff --git a/aider/website/docs/usage/watch.md b/aider/website/docs/usage/watch.md index 9f224d132..6f34b7bca 100644 --- a/aider/website/docs/usage/watch.md +++ b/aider/website/docs/usage/watch.md @@ -37,10 +37,11 @@ description: Aider can run in your browser, not just on the command line. If you run aider with `--watch-files`, it will watch all files in your repo and look for any AI coding instructions you add using your favorite IDE or text editor. -Specifically, aider looks for one-liner comments (# ... or // ...) that either start or end with `AI` or `AI!`, like these: +Specifically, aider looks for one-liner comments (# ... or // ...) that either start or end with `AI`, `AI!` or `AI?1 like these: ```python # Make a snake game. AI! +# What is the purpose of this method AI? ``` Or in `//` comment languages... @@ -49,9 +50,14 @@ Or in `//` comment languages... // Write a protein folding prediction engine. AI! ``` -Aider will take note of all the comments that start or end with `AI`, but -a comment that includes `AI!` with an exclamation point is special. -That triggers aider to take action to collect *all* the AI comments and use them as instructions to make code changes. +Aider will take note of all the comments that start or end with `AI`. +Comments that include `AI!` with an exclamation point or `AI?` with a question +mark are special. +They triggers aider to take action to collect *all* the AI comments and use them +as your instructions. + +- `AI!` triggers aider to make changes to your code. +- `AI?` triggers aider to answer your question. See the demo video above that shows aider working with AI comments in VSCode.