You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For situations where you are looking to find all occurrences of some pattern, or usages of a function, etc... and you need to edit all of them, but it is slightly more complicated that find and replace.
The /refactor slash command would:
Find all occurrences of a pattern in the codebase, either by using ripgrep, or semantic search, or other
Write a prompt for each of these and pass each to the LLM in parallel
Once all edits are done, parse them so that the edit can be applied to the file
Apply them to each of the files. One way of doing this is with sdk.ide.showDiff, but we might also consider a better refactoring UI here.
If you're interested in working on this, feel free to reach out and ask questions first
The text was updated successfully, but these errors were encountered:
For situations where you are looking to find all occurrences of some pattern, or usages of a function, etc... and you need to edit all of them, but it is slightly more complicated that find and replace.
The /refactor slash command would:
sdk.ide.showDiff
, but we might also consider a better refactoring UI here.If you're interested in working on this, feel free to reach out and ask questions first
The text was updated successfully, but these errors were encountered: