Thought I would post this if anyone was interested. This is not on Package Control; I am only feeling out interest (if any). Though the core code is pretty stable, some of the new version control features can be considered beta.
There are a number of diff plugins available, so if there is no interest here, that is fine. I have been using the plugin for personal use for a while (though it is still evolving), and recently, after adding some new features, I thought I would offer it in its own repo to see if anyone other than myself would like to use this.
I have used a number of diff plugins (some very good), but all lacked what I wanted for the way I work…so, I wrote my own. This is not meant to allow merging, nor will it moving forward; just diffing. So let’s get to the plugin:
EasyDiff is a plugin driven from the context menu (I found this more intuitive for the way I work). I wanted to quickly diff selections, multi-selection, clipboard comments, and files. Then overtime, I wanted to quickly diff files in my SVN repos and Git repos without having to go back to explorer or finder etc. I found the command palette too cumbersome, so I wanted to use the context menu. But when I selected something for the left side compare, I wanted to visually be able to see what was on the left side in case I got distracted and forgot. So EasyDiff solves this by creating a dynamic context menu in your user folder. When you pick a file for left side compare, the file name shows up in the context menu. Same with selections and clipboard.
Version control was a recent addition. I wanted to be able to see my current changes to be committed, or look at the diff of the last revision. And I wanted to be able to do this on the Git and SVN since I use them both. So EasyDiff has a wrapper around the git binary, and the svn binary (by default it assumes git and svn are in the PATH; you can point EasyDiff at the binary if you need to). I am sure someone will probably discover some small detail I have overlooked, but so far, they seem to work fine. If you don’t use Git or SVN or either, you can selectively disable the menu items in the settings file. I will probably add Mercurial down the line; I just don’t use it much.
-
Allows comparing views, selections, multi-selections, and clipboard combinations.
-
Dynamic context menus for selecting left side and right side compare. Dynamic menus show what file is on left
side. -
Compares current working copy against last committed revision in git and svn (must configure binary paths)
-
Shows diff of last commit in git and svn
-
Shows diff of staged commits for git
-
View diffs in a view buffer or output panel
-
You can selectively disable version control menus if you don’t want to see them.
repo: https://github.com/facelessuser/EasyDiff
Feel free to tell me you like it, hate it, won’t use it, make suggestions, or simply let this thread sink to the bottom of the feed.