@ngrx Angular RxJS Testing

Sublime Text “Modific” Plugin – Changes since last commit

Sublime Text is my favorite text editor for any web development – javascript, css & html. It’s fast, has a very minimalist and slick user interface and amazingly and easily can be customized with plugins.
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

So, github’s user gornostal has created this amazing Modific plugin for sublime text.
Currently, This plugin works directly with these version control systems: github, mercurial and subversion.

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

Again, with a magic shortcut of “ctrl + alt + C”, a sublime console will opened at the bottom, displaying the last committed code in your repository respectively to the current selected row.

Summary

“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.