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

Compare Side-By-Side

by kaste ALL Trending Top 100

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

Details

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

Installs

  • Total 334K
  • Win 181K
  • Mac 109K
  • Linux 44K
Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23
Windows 0 51 49 59 53 55 15 15 43 24 0 0 0 1 26 46 51 25 16 40 19 24 32 0 0 71 51 15 16 39 60 38 38 51 11 31 39 54 48 48 44 13 22 38 58 57
Mac 0 34 37 48 35 30 9 5 23 16 0 0 0 2 17 38 42 21 13 48 12 19 33 0 0 40 27 8 18 32 49 34 37 40 14 8 27 41 26 31 32 8 12 33 35 32
Linux 0 7 11 10 10 12 1 3 6 10 0 0 0 0 3 4 8 7 0 12 6 6 13 0 0 10 9 2 4 11 9 7 8 14 3 2 9 6 7 13 9 6 4 12 15 14

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