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

Incremental​Diff

by AmjadHD ST3

A plugin to quickly diff two views through Sublime text's built-in Incremental Diff.

Labels diff, diff/merge

Details

Installs

  • Total 685
  • Win 327
  • Mac 230
  • Linux 128
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 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7
Windows 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 1 0 0 0 0 1 0 0 0 0 2 0 1 0 1 0 0 0 0 0 0 0 0 0 0 1 0
Mac 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Incremental Diff

A plugin to quickly diff two views through Sublime text's built-in Incremental Diff.

usage

Usage

The plugin provides these commands: - set_reference_document: available in the context and tab context menus and the command palette, opens a quick panel with these options to set the contents as a reference for the incremental diff: * “Clipboard”: Use the clipboard. * “Open Views”: opens a quick panel with all suitable open views (excluding images and possibly binary files). * “File Dialog”: Pick a file from a file dialog (ST4 only).

  • set_reference_document_from_file: available in the Side Bar context menu, when exactly two files are selected, the file on which the menu is invoked will be opened if not already open, and the other file's contents will be used as a reference for incremental diff.

  • reset_reference_document: resets the reference document of the active view; you can bind it to a key, it's not bound by default.

  • toggle_all_diffs: bonus command, available in the context menu, shows/hides all diff hunks in the view.

Installation

Open the Command Palette, select Package Control: Install Package and search for IncrementalDiff.