Answer: Run aider with --watch-files, and it will watch all files in your repo and look for one-liner AI comments (# … or // …) that start or end with AI, AI! or AI?. AI! triggers aider to make changes to your code, while AI? triggers aider to answer your question. Status: Confirmed Entry: tool/aider/ide-and-apps/aider-ide-ai-comments Revision: 1 Digest: sha256:a311093365fe19d7 (changes whenever the content changes) Timeline: Created: 2026-11-13T02:56:51Z Last changed: 2026-11-13T02:56:51Z Last verified: 2026-11-20T11:44:23Z Next check: 2026-11-21T11:44:23Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of flag | --watch-files | [1] | 2026-11-20 comment markers | AI , AI! or AI? | [1] | 2026-11-20 AI! action | AI! | [1] | 2026-11-20 AI? action | AI? | [1] | 2026-11-20 demo IDE | VSCode | [1] | 2026-11-20 Sources: [1] Aider. "aider.chat/docs/usage/watch.html". https://aider.chat/docs/usage/watch.html Role: primary. Accessed: 2026-11-20T11:44:23Z Quote: "If you run aider with --watch-files , it will watch all files in your repo" (Supports: flag) Quote: "that either start or end with AI , AI! or AI? like these:" (Supports: comment markers) Quote: "AI! triggers aider to make changes to your code." (Supports: AI! action) Quote: "AI? triggers aider to answer your question." (Supports: AI? action) Quote: "shows aider working with AI comments in VSCode." (Supports: demo IDE) Published: 2026-04-25T16:45:23Z Snapshot SHA-256: 8760aafbd44962ded6cca2f7e2c9e51c8964fbda380a5918744228a9d095b1c3 (captured 2026-11-13T02:56:51Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T02:56:51Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T11:44:23Z. No independent second source is configured for this entry Last successful check: 2026-11-20T11:44:23Z Last attempt: 2026-11-20T11:44:23Z Notes and limitations: Extracted automatically from a single official source (section "AI comments"). Related: https://latestn.com/tool/aider/ide-and-apps/launch-browser-ui How do I launch Aider's browser UI? https://latestn.com/tool/aider/ide-and-apps/long-form-instructions-comments How do I give long form instructions to Aider through IDE comments? https://latestn.com/tool/aider/install-and-setup/cohere-setup How do I set up Aider to use Cohere models? https://latestn.com/tool/aider/ide-and-apps/add-aider-to-editor How do I add Aider to my IDE or editor like VS Code or NeoVim? https://latestn.com/tool/aider/ide-and-apps/add-file-to-chat-from-comment How do I add a file to the Aider chat from an IDE comment? https://latestn.com/tool/aider/ide-and-apps/aider-comment-styles What comment styles can I use for Aider AI comments in my IDE? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T02:56:51Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/aider/ide-and-apps/aider-ide-ai-comments/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/aider/ide-and-apps/aider-ide-ai-comments POST: https://latestn.com/dispute/tool/aider/ide-and-apps/aider-ide-ai-comments with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/aider/ide-and-apps/aider-ide-ai-comments?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I use Aider inside my IDE with AI comments? Revision 1, last verified 2026-11-20T11:44:23Z. https://latestn.com/tool/aider/ide-and-apps/aider-ide-ai-comments (accessed 2026-11-21T10:05:58Z). @misc{LatestN_tool_aider_ide_and_apps_aider_ide_ai_comments_r1, title = {How do I use Aider inside my IDE with AI comments?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/aider/ide-and-apps/aider-ide-ai-comments}}, note = {Revision 1; digest sha256:a311093365fe19d7; last verified 2026-11-20T11:44:23Z; accessed 2026-11-21T10:05:58Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/aider/ide-and-apps/aider-ide-ai-comments