This package adds a simple side-by-side comparison tool to Sublime Text 2 and 3.
- Easily select two tabs or selections to compare
- Comparison results open in a new window
- Empty lines added so common code lines up
- Count number of lines changed
- Highlighting of changed lines
- Intra-line diff highlighting
- Synchronized scrolling
- Search for and install using Package Control (ctrl+shift+P, "Install Package")
- Clone or extract this repo to a new folder in your Sublime 'Packages' folder
(Preferences -> Browse Packages)
- Right click on a tab and select "Compare with..."
- Right click somewhere in the active view and select "Compare with..."
- Right click on a tab and select "Compare with active tab"
- Highlight text, right click -> "Mark selection for comparison"
- Mark a second selection, then right click -> "Compare selections"
- Create two selections by holding CTRL, then "Compare selections"
- From the command line (see README_COMMANDS.md)
- Highlight colours and other options can be configured in SBSCompare.sublime-settings
- To access: Preferences -> Package Settings -> Compare Side-By-Side
- Default colours are optimized for the base16 colour scheme in ST3