One of the features that I like most in an editor is the ability to see visually code that has been changed since the last commit. Some editors has that feature built in if the VCS allows such a feature (github, mercurial, subversion etc).
Sublime Text doesn’t. But, since it can be customized easily with python and a dedicated plugin API, among the many plugins available, i’m using one which is integrated nicely into the editor.
The “Modific” Plugin
The Benefits of using Modific
Lets cut to the chase – what are you getting from using Modific?
Highlights changes inside sublime
It highlights changes in your code since the last commit with little green/yellow/pinkish dots right next to the row number (dots can be customized to other indicators). Meaning – your code must be in one of those repositories for the plugin to work correctly.
Shows the Diff’s of the code
With the magic shortcut of “ctrl + alt + D”, a new tab will be opened in sublime, with a full detailed log of the current differences – added, changed or deleted – highlighted as well in this files with corresponding color.
Preview Changes In Console
“Modific” is a great tool for tracking down changes in the current file you’re working on, or as an overall tracker for changes made in you project since last commit. Installation and usage instructions are provided within the github’s project page.