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 670
  • Win 318
  • Mac 226
  • Linux 126
Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 1 2 0 0 0 0 0 0 0 0 0 0 0 0 1 2 1 0 1 0 0 0 0 0 0 0
Mac 1 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 0 0 0 0 1 1 0 1 0 1 0 0 0 0 1 0 0 0 0
Linux 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 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.