New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature request]: update active diff instantly when rewrite has changed #285
Comments
It can be done but the behavior is not similar to VSCode. Supporting this will trigger a lot of processes when changing replacement. |
How about updating the active diff content whenever the item is rerendered? (Rerendering refers to re-searching or changes in input/replacement.) |
This will prevent the initiation of new processes by calculating active item diffs. Updating the diff content will be lazy, yet intuitive. |
Currently,
ast-grep-vscode
will close all opened diff tabs when the rewrite has changed. We can follow the behavior ofvscode-search
to get a better UX.Area.mp4
The text was updated successfully, but these errors were encountered: