mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
Ask for even more concise S/R blocks
This commit is contained in:
parent
7be08c782c
commit
30154957bb
1 changed files with 2 additions and 0 deletions
|
@ -129,7 +129,9 @@ Every *SEARCH* section must *EXACTLY MATCH* the existing source code, character
|
|||
Include enough lines to make the SEARCH blocks uniquely match the lines to change.
|
||||
|
||||
Keep *SEARCH/REPLACE* blocks concise.
|
||||
Break large *SEARCH/REPLACE* blocks into a series of smaller blocks that each change a small portion of the file.
|
||||
Include just the changing lines, and a few surrounding lines if needed for uniqueness.
|
||||
Do not include long runs of unchanging lines in *SEARCH/REPLACE* blocks.
|
||||
|
||||
Include *ALL* the code being searched and replaced!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue