We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e3ea69 commit 9b175a7Copy full SHA for 9b175a7
src/core/prompts/tools/search-and-replace.ts
@@ -7,7 +7,7 @@ Parameters:
7
- path: (required) The path of the file to modify (relative to the current working directory ${args.cwd.toPosix()})
8
- operations: (required) A JSON array of search/replace operations. Each operation is an object with:
9
* search: (required) The text or pattern to search for
10
- * replace: (required) The text to replace matches with
+ * replace: (required) The text to replace matches with. If multiple lines need to be replaced, use "\n" for newlines
11
* start_line: (optional) Starting line number for restricted replacement
12
* end_line: (optional) Ending line number for restricted replacement
13
* use_regex: (optional) Whether to treat search as a regex pattern
0 commit comments