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 58K
  • Win 25K
  • Mac 22K
  • Linux 10K
Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12 Dec 11 Dec 10 Dec 9 Dec 8 Dec 7
Windows 6 5 4 1 6 6 6 5 7 0 3 3 3 3 7 4 2 3 4 8 1 0 3 1 2 8 4 6 3 7 2 3 8 11 3 7 4 6 1 8 7 8 7 4 1 3
Mac 4 7 1 2 4 7 5 7 5 3 2 6 7 5 3 7 3 0 6 3 1 3 0 1 1 4 4 2 4 6 0 2 5 6 7 12 5 2 1 5 6 8 5 7 2 1
Linux 1 0 2 0 4 3 2 2 3 3 0 5 3 2 2 2 0 1 0 1 1 4 0 1 1 0 0 2 4 1 1 0 1 2 1 1 4 0 3 1 0 1 0 3 4 4

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