/DiffTabs

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

Primary LanguagePythonMIT LicenseMIT

DiffTabs

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

Usage

usage-1

Right click another tab along the tab bar and select "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.

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