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
{{ message }}
This repository has been archived by the owner on Jun 10, 2021. It is now read-only.
This mostly only applies to usage as a library, although in principle one could hit it with a large multiline regexp. It would be really nice if instead of just showing the entire removed block as red and the entire added block as green, codemod could show a more concise diff. This would be especially useful for codemods that reorder lines, for example by moving a line up a few lines -- right now they show a big unreadable block of red and green, but they could just show a single red and a single green line.
(In an ideal world, they could even allow diff-splitting, like git add -p, but I don't think that's particularly compatible with the current Patch architecture.)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This mostly only applies to usage as a library, although in principle one could hit it with a large multiline regexp. It would be really nice if instead of just showing the entire removed block as red and the entire added block as green, codemod could show a more concise diff. This would be especially useful for codemods that reorder lines, for example by moving a line up a few lines -- right now they show a big unreadable block of red and green, but they could just show a single red and a single green line.
(In an ideal world, they could even allow diff-splitting, like
git add -p
, but I don't think that's particularly compatible with the currentPatch
architecture.)The text was updated successfully, but these errors were encountered: