Open kolemannix opened 10 years ago
While slam.hound/swap-in-reconstructed-ns-form
modifies files, slam.hound/reconstruct
simply returns a new ns form. You could produce a diff with that if you like.
I think most people who enjoy using slamhound use it from their editors, which have undo/redo actions. This, combined with a VCS diff command (git diff
), kind of obviate the need to for tools like this to create diffs, IMHO.
Do you have a good usage example not covered by the above?
Thanks!
Is there a possibility of doing this? Run the same analysis, but rather than alter my source files, just print a diff comparing the current ns form and the slamhound-constructed ns form?
This allows the developer to make a conscious choice about what goes into his source files, which I feel is a little more sane.