Menu

#40 Save diff as HTML

open
None
5
2005-05-08
2005-02-17
Anonymous
No

It would be very useful to save the side-by-side diff
as an HTML file (maybe with the option of removing
identical lines and leaving a 3-4 line context).

This would help with code review, or any type of
sharing diffs in a nice graphical format.

I'd be willing to contribute this feature if pointed to
the right place to hook it in.

Serban Simu
serban@asperasoft.com

Discussion

  • Martin Blais

    Martin Blais - 2005-05-08

    Logged In: YES
    user_id=10996

    hi serban

    hmmm not sure if this feature belongs within xxdiff.
    while it would be a cool feature, i believe that it would be
    a better approach to simply output a text patch in standard
    diff format, and for some external tool to generate the html
    from it (i think such tools already exist).

    tell me a little more: do you want to generate just the
    html diff for a single patch? for generating html for
    entire files, other programs already do that.

    note that if you're writing merge review comments, you can
    hit Control and select a region with the first mouse button
    (you'll see a red line), and then just paste that into a
    text editor. xxdiff prepends the filename and the line
    numbers in the file.

    cheers,

     
  • Martin Blais

    Martin Blais - 2005-05-08
    • assigned_to: nobody --> blais
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.