Skip to content

Side-by-side file comparison & difference tool for ST2/3

Notifications You must be signed in to change notification settings

t-bltg/sublime-compare-side-by-side

Repository files navigation

Compare Side-By-Side

This package adds a simple side-by-side comparison tool to Sublime Text 2 and 3.

Screenshot

Features

  • 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

Installation Options

  • 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)

Usage Options

  • 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)

Configuration

  • 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

About

Side-by-side file comparison & difference tool for ST2/3

Resources

Stars

Watchers

Forks

Packages

No packages published