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
Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 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
Windows 3 10 6 5 4 0 8 9 5 5 7 2 1 6 5 8 5 3 1 4 4 7 3 5 3 1 4 2 8 8 8 6 1 0 6 10 7 5 11 3 2 5 6 9 6 8
Mac 1 4 3 9 1 5 4 8 10 4 4 4 1 11 4 3 6 10 1 0 11 6 9 8 7 3 1 9 8 9 7 2 2 3 8 7 5 13 4 0 0 5 10 12 7 7
Linux 0 2 3 3 0 1 3 2 3 2 2 2 2 2 3 1 3 1 2 0 3 1 5 1 2 2 0 2 1 4 2 1 1 0 2 3 1 1 2 1 0 2 1 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