This commit is contained in:
Paul Gauthier 2023-05-13 07:01:22 -07:00
parent 705f6a1324
commit 41a5f09cb9
5 changed files with 11 additions and 10 deletions

View file

@ -1,11 +1,9 @@
# Aider performing semantic search & replace
# Semantic search & replace on code with aider and gpt-4
> Aider did a nice job of "semantic search and replace" here.
> The user asks aider to do "semantic search and replace" to modify a series of function cals.
> Notice that it isn't replacing exact strings.
> It's dealing with various formatting and semantic differences in the calls that it is updating.
*Loading aider/coder.py*
---
#### coder.py> replace all the self.console.print() calls that contain [red] with calls to self.io.tool_error() with [red] removed from the string