prettydiff
prettydiff copied to clipboard
Beautifier and language aware code comparison tool for many languages. It also minifies and a few other things.
Technically, it's only one difference. But if we're doing line-by-line comparison, then it's `3 differences from 3 lines of code` not `4 differences`
As of now, there is no quick way to navigate through just the differences apart from complete scrolling. We can introduce buttons just like http://jsondiff.com/ to navigate to next/previous difference...
This needs more thought, but every difference in html can be classified into a few categories, namely - text/tag/attribute. Just like jsondiff.com, show a summary on the top, which displays...
This seems wrong? ``` prettydiff.options = { ...prettydiff.options, source: compare1, diff: compare2, mode: "diff", diff_view: "inline", diff_format: "json", //diff_space_ignore: true, preserve_comment: false, preserve_text: true, }; ``` The output has all...
I need somebody to work with me with test samples and identifying defects and I will perform all the coding to add support for this language.
I think it would be nice if `prettydiff` could receive data via stdin. Example: cat test.js | prettydiff
I suspect the parser is already doing a good job of supporting Java but I need developers to kindly provide test samples and error cases.
I suspect the parser is already doing a good job of supporting C# but I need developers to kindly provide test samples and error cases.
**~/.gitconfig**: ``` [difftool.prettydiff] cmd = prettydiff ``` Then running `git difftool -t prettydiff` on a repo with changes should show a series of diffs. Is this a planned feature?
First example: Hello World Second example (missing underscore in first comment) Hello World Third example (missing underscore in second comment) Hello World The Code Report differs between the comparison of...