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

Compare Side-By-Side

by kaste ALL Top 100

Compare anything, side-by-side, in a split view

Details

  • 1.23.0
    1.20.3
  • github.​com
  • github.​com
  • 3 months ago
  • 2 hours ago
  • 10 years ago

Installs

  • Total 323K
  • Win 175K
  • Mac 105K
  • Linux 43K
May 28 May 27 May 26 May 25 May 24 May 23 May 22 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
Windows 38 46 15 12 41 46 60 64 53 19 21 55 72 67 58 53 14 30 47 44 48 60 55 8 16 37 28 36 50 44 36 23 65 49 69 53 59 14 23 45 64 60 56 52 23 22
Mac 32 38 7 13 27 41 38 45 43 7 11 43 42 46 32 37 13 27 29 31 43 40 34 6 7 23 35 18 40 40 31 9 35 41 49 48 32 11 12 35 45 48 48 47 9 6
Linux 9 10 8 3 9 13 9 11 7 9 2 9 11 8 9 11 2 4 8 9 10 7 3 2 3 7 7 3 7 16 5 5 9 10 9 9 11 3 6 9 14 11 16 8 8 7

Readme

Source
raw.​githubusercontent.​com

Compare Side-By-Side

This package adds a simple side-by-side comparison tool to Sublime Text. Here is us on Package Control and here on GitHub.

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+n, jump to previous: alt+p

Configuration

  • The standard diff scopes/colors are used, these are diff.inserted.sbs-compare, diff.inserted.char.sbs-compare, diff.deleted.sbs-compare, diff.deleted.char.sbs-compare. Note that I just added the suffix “.sbs-compare” to them. You can change the colors in your color scheme (ctrl+shift+P, “UI: Customize Color Scheme”).
  • Other options can be configured in SBSCompare.sublime-settings To access: Preferences -> Package Settings -> Compare Side-By-Side

License & Contributing