ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Compare Side-By-Side

by Doug Ty ST2/ST3

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

Details

Installs

  • Total 119K
  • Win 67K
  • OS X 35K
  • Linux 17K
May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6
Windows 102 35 38 116 134 135 144 116 50 36 104 113 137 148 113 28 45 92 114 115 58 89 37 62 94 153 140 138 118 31 43 94 166 136 137 123 30 39 116 118 123 128 127 34 41 83
OS X 47 13 20 43 46 64 54 62 17 9 61 55 63 62 53 21 22 56 48 66 45 52 20 24 42 55 58 64 54 24 12 45 52 53 56 48 19 18 51 63 55 60 56 17 19 53
Linux 29 10 16 24 30 39 43 31 13 9 21 21 37 40 24 6 12 24 28 24 20 21 13 16 26 26 32 36 26 15 5 29 34 37 37 18 8 11 26 28 27 19 34 16 6 29

Readme

Source
raw.​githubusercontent.​com

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
  • Jump to next: Alt+Shift+Down, Jump to previous: Alt+Shift+Up

Configuration

  • Highlight colours and other options can be configured in SBSCompare.sublime-settings
  • Hotkeys can be changed in the included Default (PLATFORM).sublime-keys files
  • To access: Preferences -> Package Settings -> Compare Side-By-Side

License & Contributing