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

Diff​Tabs

by soandrew ALL

Sublime Text 4/3/2 plugin that adds the option to diff the current tab with another open tab.

Details

Installs

  • Total 57K
  • Win 25K
  • Mac 21K
  • Linux 10K
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 Aug 23 Aug 22
Windows 1 3 7 7 9 6 6 4 1 2 4 5 6 3 3 6 8 9 6 12 5 0 2 8 3 4 3 6 3 1 2 11 5 12 4 0 0 5 7 4 6 6 1 1 5 4
Mac 1 1 7 11 7 4 4 3 3 4 9 4 4 5 1 2 7 6 5 6 5 3 5 4 13 8 8 4 1 2 6 6 9 6 9 0 1 3 9 3 5 5 2 2 3 4
Linux 1 0 0 1 1 4 2 0 1 1 2 3 3 1 1 1 3 1 3 2 3 0 2 2 2 0 2 0 1 1 3 2 3 1 1 0 0 2 1 2 4 1 0 1 1 0

Readme

Source
raw.​githubusercontent.​com

DiffTabs

Sublime Text 4/3/2 plugin that adds the option to diff the current tab with another open tab.

Usage

Right click another tab along the tab bar and select “DiffTabs: Diff With Current Tab…” (The tab you right click will be the from-file and the current tab will be the to-file). Your diff results will appear in a new tab.

Keyboard Support

Open the Command Palette by pressing +Shift+P on Mac or Ctrl+Shift+P on Linux/Windows. Type in DiffTabs: Diff With Current Tab… and press Enter. In the dropdown select another tab (The tab you select will be the from-file and the current tab will be the to-file).

Configuration

  • ST2:
    • Preferences > Package Settings > DiffTabs > Settings - User
  • ST3/ST4:
    • Preferences > Package Settings > DiffTabs > Settings
Key Possible values Default value Description
"output_to" "buffer" \ "panel" "buffer"

Installation

Package Control:

  1. Install Package Control if necessary.
  2. Open the Command Palette by pressing +Shift+P on Mac or Ctrl+Shift+P on Linux/Windows.
  3. Type in Package Control: Install Package and press Enter
  4. Type DiffTabs and hit Enter

Without Git: Download the latest source from GitHub and extract archive to your Sublime Text “Packages” directory.

With Git: Clone the repository to your Sublime Text “Packages” directory:

  • git clone https://github.com/soandrew/DiffTabs.git

The “Packages” directory is located at:

  • ST2:
    • OS X: ~/Library/Application Support/Sublime Text 2/Packages
    • Linux: ~/.config/sublime-text-2/Packages
    • Windows: %APPDATA%\Sublime Text 2\Packages
  • ST3/ST4:
    • OS X: ~/Library/Application Support/Sublime Text 3/Packages
    • Linux: ~/.config/sublime-text-3/Packages
    • Windows: %APPDATA%\Sublime Text 3\Packages