I’ve used it as a sort of find and replace in the past, but by feeding it the output from Ripgrep to skip the “find” part. The “replace” was just unwrapping unnecessarily confusing “try” blocks and allowing errors to propagate to the appropriate handlers. This would have required a syntax-aware replacement tool (and some exist but I didn’t really feel like learning one for a one-off).
As a simple “find this text and replace with this other text” it makes no sense.
I can count on one hand the number of jobs or functions I’ve seen people try to get AI to do that isn’t already done better by a hard-coded program or an Excel spreadsheet.
I’ve seen people literally use it as find and replace 🤦♂️
I’ve used it as a sort of find and replace in the past, but by feeding it the output from Ripgrep to skip the “find” part. The “replace” was just unwrapping unnecessarily confusing “try” blocks and allowing errors to propagate to the appropriate handlers. This would have required a syntax-aware replacement tool (and some exist but I didn’t really feel like learning one for a one-off).
As a simple “find this text and replace with this other text” it makes no sense.
I can count on one hand the number of jobs or functions I’ve seen people try to get AI to do that isn’t already done better by a hard-coded program or an Excel spreadsheet.