From e08b63cc9ffb2bb5f95d5bcf9c261ce099ac078c Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 14 Mar 2025 11:42:05 -0700 Subject: [PATCH] initial --- .../examples/dont-drop-original-read-files.md | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 aider/website/examples/dont-drop-original-read-files.md diff --git a/aider/website/examples/dont-drop-original-read-files.md b/aider/website/examples/dont-drop-original-read-files.md new file mode 100644 index 000000000..017902730 --- /dev/null +++ b/aider/website/examples/dont-drop-original-read-files.md @@ -0,0 +1,60 @@ +--- +parent: Example chat transcripts +nav_order: 1 +layout: minimal +--- + +# Don't /drop read-only files added at launch + + + + + + + + +
+
+ +
+
+
+
+
+
+
+
aider
+
+
+
+
+ +
+ Space Play/pause — + f Fullscreen — + ±5s +
+ +## Commentary + +- 0:01 We're going to update the /drop command to keep any read only files that were originally specified at launch. +- 0:10 We've added files that handle the main C.L.I. and in-chat slash commands like /drop. +- 0:20 Explain the needed change to aider. +- 1:20 Ok, let's look at the code. +- 1:30 I'd prefer not to use "hasattr()", let's ask for improvements. +- 1:45 Let's try some manual testing. +- 2:10 Looks good. Let's check the existing test suite to ensure we didn't break anything. +- 2:19 Let's ask aider to add tests for this. +- 2:50 Tests look reasonable, we're done! + + + + + + +