From 41c692f9f14cc8c2e62d5d8df88e91961cf3d457 Mon Sep 17 00:00:00 2001 From: fry69 <142489379+fry69@users.noreply.github.com> Date: Thu, 29 Aug 2024 20:11:29 +0200 Subject: [PATCH] Update tips.md with hint for creating new files --- aider/website/docs/usage/tips.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aider/website/docs/usage/tips.md b/aider/website/docs/usage/tips.md index da5be762b..dff314a81 100644 --- a/aider/website/docs/usage/tips.md +++ b/aider/website/docs/usage/tips.md @@ -25,6 +25,10 @@ but be selective. Do them one at a time. Adjust the files added to the chat as you go: `/drop` files that don't need any more changes, `/add` files that need changes for the next step. +## Creating new files + +If you want aider to create a new file, add it to the repository first with `/add `, so aider knows this file exists and will write to it. Without this, aider might write the changes to an existing files, even when explicitly asked not to do this. + ## For complex changes, discuss a plan first Use the [`/ask` command](modes.html) to make a plan with aider.