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 639
  • Win 304
  • Mac 213
  • Linux 122
Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11
Windows 0 1 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 2 0 0 0 0 1 0 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1
Mac 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 2 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 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.