Home Download Buy Blog Forum Support

Generate unified diff of two views

Generate unified diff of two views

Postby theblacklion on Sun Feb 27, 2011 11:42 pm

Hi folks,

heres a plugin which collects views and generates a unified diff of the last two. It uses difflib and no external tools.

https://bitbucket.org/theblacklion/subl ... f_views.py

Regards,
Oktay.
theblacklion
 
Posts: 67
Joined: Sat Feb 05, 2011 10:07 pm
Location: Hannover, Germany

Re: Generate unified diff of two views

Postby marksteve on Mon Feb 28, 2011 5:15 am

I must say, I love your plugins :)
marksteve
 
Posts: 43
Joined: Thu Sep 30, 2010 6:44 am

Re: Generate unified diff of two views

Postby theblacklion on Mon Feb 28, 2011 10:57 pm

You're welcome ^^.
theblacklion
 
Posts: 67
Joined: Sat Feb 05, 2011 10:07 pm
Location: Hannover, Germany

Re: Generate unified diff of two views

Postby theblacklion on Fri Mar 04, 2011 9:49 pm

Updated the code to automatically use a Diff syntax file.
Of course you have to have the proper color definitions within your theme file.

I'm wondering whether the syntax file should be disabled by default or something like that... what do you think?

PS You can get the syntax file here: http://svn.textmate.org/trunk/Bundles/D ... Diff.plist
Save it as Diff.tmLanguage within your Packages/User folder.
theblacklion
 
Posts: 67
Joined: Sat Feb 05, 2011 10:07 pm
Location: Hannover, Germany


Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 14 guests