-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
I'd love some way to have an ast-grep version of Ctrl-F, i.e. limited to the current file and not requiring the file to actually be in my current vscode workspace (or even be on disk at all). I don't mind if it still writes it to the disk in the background to do the actual processing.
I often find myself wanting to use ast-grep to do small transformations on code snippets that I copied from the internet/am sending to someone as an example/are not in my current workspace. Right now I have to copy them over, perform the transformation, then delete the result. As a result, I end up just fumbling around with multi-cursor replacements instead.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed