mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 14:55:00 +00:00
diff with move hint
This commit is contained in:
parent
d9a301c9f8
commit
ef2a1f3875
3 changed files with 5 additions and 1 deletions
|
@ -174,6 +174,8 @@ Include *ALL* the code being searched and replaced!
|
|||
|
||||
Only *SEARCH/REPLACE* files that are *read-write*.
|
||||
|
||||
To move code within a file, use 2 *SEARCH/REPLACE* blocks: 1 to delete it from its current location, 1 to insert it in the new location.
|
||||
|
||||
If you want to put code in a new file, use a *SEARCH/REPLACE block* with:
|
||||
- A new file path, including dir name if needed
|
||||
- An empty `SEARCH` section
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue