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

Diff​Tabs

by soandrew ALL Trending

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

Details

Installs

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

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