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

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