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

Side-by-Side Settings

by jgbishop ST3

Plug-in for Sublime Text that makes it easy to view default and user settings side-by-side. Works for key bindings and other plug-ins too!

Labels utilities

Details

Installs

  • Total 8K
  • Win 4K
  • Mac 3K
  • Linux 1K
Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5
Windows 0 1 0 3 0 0 0 0 0 0 0 0 0 2 3 0 0 0 0 1 0 0 0 0 0 0 0 1 2 1 0 0 0 0 1 1 1 0 0 3 0 1 1 0 1
Mac 1 0 2 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 2 0 1 0 0 0 1 2 0 1 0 0 1 0 0 0 0 2 0 0 0 1 0 0 1 0
Linux 1 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 1 0 0
01234Jun 18Jun 15Jun 12Jun 9Jun 6Jun 3May 31May 28May 25May 22May 19May 16May 13May 10May 7Jun 18 Linux: 1 Mac: 1 Windows: 0Jun 17 Linux: 0 Mac: 0 Windows: 1Jun 16 Linux: 0 Mac: 2 Windows: 0Jun 15 Linux: 1 Mac: 0 Windows: 3Jun 14 Linux: 0 Mac: 0 Windows: 0Jun 13 Linux: 0 Mac: 0 Windows: 0Jun 12 Linux: 1 Mac: 0 Windows: 0Jun 11 Linux: 0 Mac: 0 Windows: 0Jun 10 Linux: 0 Mac: 0 Windows: 0Jun 9 Linux: 0 Mac: 0 Windows: 0Jun 8 Linux: 0 Mac: 0 Windows: 0Jun 7 Linux: 0 Mac: 0 Windows: 0Jun 6 Linux: 0 Mac: 1 Windows: 0Jun 5 Linux: 0 Mac: 0 Windows: 2Jun 4 Linux: 0 Mac: 0 Windows: 3Jun 3 Linux: 0 Mac: 0 Windows: 0Jun 2 Linux: 0 Mac: 1 Windows: 0Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 0 Windows: 0May 30 Linux: 0 Mac: 2 Windows: 1May 29 Linux: 0 Mac: 0 Windows: 0May 28 Linux: 0 Mac: 1 Windows: 0May 27 Linux: 0 Mac: 0 Windows: 0May 26 Linux: 0 Mac: 0 Windows: 0May 25 Linux: 0 Mac: 0 Windows: 0May 24 Linux: 0 Mac: 1 Windows: 0May 23 Linux: 0 Mac: 2 Windows: 0May 22 Linux: 0 Mac: 0 Windows: 1May 21 Linux: 0 Mac: 1 Windows: 2May 20 Linux: 0 Mac: 0 Windows: 1May 19 Linux: 0 Mac: 0 Windows: 0May 18 Linux: 0 Mac: 1 Windows: 0May 17 Linux: 0 Mac: 0 Windows: 0May 16 Linux: 0 Mac: 0 Windows: 0May 15 Linux: 1 Mac: 0 Windows: 1May 14 Linux: 1 Mac: 0 Windows: 1May 13 Linux: 0 Mac: 2 Windows: 1May 12 Linux: 0 Mac: 0 Windows: 0May 11 Linux: 0 Mac: 0 Windows: 0May 10 Linux: 0 Mac: 0 Windows: 3May 9 Linux: 0 Mac: 1 Windows: 0May 8 Linux: 0 Mac: 0 Windows: 1May 7 Linux: 1 Mac: 0 Windows: 1May 6 Linux: 0 Mac: 1 Windows: 0May 5 Linux: 0 Mac: 0 Windows: 1Jun 18 Linux: 1 Mac: 1 Windows: 0Jun 17 Linux: 0 Mac: 0 Windows: 1Jun 16 Linux: 0 Mac: 2 Windows: 0Jun 15 Linux: 1 Mac: 0 Windows: 3Jun 14 Linux: 0 Mac: 0 Windows: 0Jun 13 Linux: 0 Mac: 0 Windows: 0Jun 12 Linux: 1 Mac: 0 Windows: 0Jun 11 Linux: 0 Mac: 0 Windows: 0Jun 10 Linux: 0 Mac: 0 Windows: 0Jun 9 Linux: 0 Mac: 0 Windows: 0Jun 8 Linux: 0 Mac: 0 Windows: 0Jun 7 Linux: 0 Mac: 0 Windows: 0Jun 6 Linux: 0 Mac: 1 Windows: 0Jun 5 Linux: 0 Mac: 0 Windows: 2Jun 4 Linux: 0 Mac: 0 Windows: 3Jun 3 Linux: 0 Mac: 0 Windows: 0Jun 2 Linux: 0 Mac: 1 Windows: 0Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 0 Windows: 0May 30 Linux: 0 Mac: 2 Windows: 1May 29 Linux: 0 Mac: 0 Windows: 0May 28 Linux: 0 Mac: 1 Windows: 0May 27 Linux: 0 Mac: 0 Windows: 0May 26 Linux: 0 Mac: 0 Windows: 0May 25 Linux: 0 Mac: 0 Windows: 0May 24 Linux: 0 Mac: 1 Windows: 0May 23 Linux: 0 Mac: 2 Windows: 0May 22 Linux: 0 Mac: 0 Windows: 1May 21 Linux: 0 Mac: 1 Windows: 2May 20 Linux: 0 Mac: 0 Windows: 1May 19 Linux: 0 Mac: 0 Windows: 0May 18 Linux: 0 Mac: 1 Windows: 0May 17 Linux: 0 Mac: 0 Windows: 0May 16 Linux: 0 Mac: 0 Windows: 0May 15 Linux: 1 Mac: 0 Windows: 1May 14 Linux: 1 Mac: 0 Windows: 1May 13 Linux: 0 Mac: 2 Windows: 1May 12 Linux: 0 Mac: 0 Windows: 0May 11 Linux: 0 Mac: 0 Windows: 0May 10 Linux: 0 Mac: 0 Windows: 3May 9 Linux: 0 Mac: 1 Windows: 0May 8 Linux: 0 Mac: 0 Windows: 1May 7 Linux: 1 Mac: 0 Windows: 1May 6 Linux: 0 Mac: 1 Windows: 0May 5 Linux: 0 Mac: 0 Windows: 1Jun 18 Linux: 1 Mac: 1 Windows: 0Jun 17 Linux: 0 Mac: 0 Windows: 1Jun 16 Linux: 0 Mac: 2 Windows: 0Jun 15 Linux: 1 Mac: 0 Windows: 3Jun 14 Linux: 0 Mac: 0 Windows: 0Jun 13 Linux: 0 Mac: 0 Windows: 0Jun 12 Linux: 1 Mac: 0 Windows: 0Jun 11 Linux: 0 Mac: 0 Windows: 0Jun 10 Linux: 0 Mac: 0 Windows: 0Jun 9 Linux: 0 Mac: 0 Windows: 0Jun 8 Linux: 0 Mac: 0 Windows: 0Jun 7 Linux: 0 Mac: 0 Windows: 0Jun 6 Linux: 0 Mac: 1 Windows: 0Jun 5 Linux: 0 Mac: 0 Windows: 2Jun 4 Linux: 0 Mac: 0 Windows: 3Jun 3 Linux: 0 Mac: 0 Windows: 0Jun 2 Linux: 0 Mac: 1 Windows: 0Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 0 Windows: 0May 30 Linux: 0 Mac: 2 Windows: 1May 29 Linux: 0 Mac: 0 Windows: 0May 28 Linux: 0 Mac: 1 Windows: 0May 27 Linux: 0 Mac: 0 Windows: 0May 26 Linux: 0 Mac: 0 Windows: 0May 25 Linux: 0 Mac: 0 Windows: 0May 24 Linux: 0 Mac: 1 Windows: 0May 23 Linux: 0 Mac: 2 Windows: 0May 22 Linux: 0 Mac: 0 Windows: 1May 21 Linux: 0 Mac: 1 Windows: 2May 20 Linux: 0 Mac: 0 Windows: 1May 19 Linux: 0 Mac: 0 Windows: 0May 18 Linux: 0 Mac: 1 Windows: 0May 17 Linux: 0 Mac: 0 Windows: 0May 16 Linux: 0 Mac: 0 Windows: 0May 15 Linux: 1 Mac: 0 Windows: 1May 14 Linux: 1 Mac: 0 Windows: 1May 13 Linux: 0 Mac: 2 Windows: 1May 12 Linux: 0 Mac: 0 Windows: 0May 11 Linux: 0 Mac: 0 Windows: 0May 10 Linux: 0 Mac: 0 Windows: 3May 9 Linux: 0 Mac: 1 Windows: 0May 8 Linux: 0 Mac: 0 Windows: 1May 7 Linux: 1 Mac: 0 Windows: 1May 6 Linux: 0 Mac: 1 Windows: 0May 5 Linux: 0 Mac: 0 Windows: 1

Readme

Source
raw.​githubusercontent.​com

Side-by-Side Settings

A Sublime Text plugin for viewing default and user settings side by side in a new window. It also works for key bindings and plug-in specific settings, making it much easier to configure Sublime Text.

Installation

There are two options for installing this package:

Package Control (Recommended)

Side-by-Side Settings is available via Package Control. If you do not have the Package Control plug-in installed in Sublime Text, you should! Simply follow these instructions to install it. Once it has been installed, search for and select Side-by-Side Settings in the Install Package command window.

Git Clone

You can also clone this repository into your Sublime Text Packages directory using Git, if you feel so inclined. If you do use Git, make sure to clone using the appropriate folder name of Side-by-Side Settings (so that the menu items work as expected). Here's an example git clone command using SSH:

git clone git@github.com:jgbishop/sxs-settings.git "Side-by-Side Settings"

Usage

Side-by-Side Settings adds three new commands to the command palette:

  • Side-by-Side: Select a File - Opens a panel displaying all of the .sublime-settings and .sublime-keymap files in the Sublime Text environment
  • Side-by-Side: Sublime Settings - Opens both default and user Sublime Text settings side by side in a new window
  • Side-by-Side: Sublime Key Bindings - Opens both default and user Sublime Text key bindings side by side in a new window

Select a File Command

The “select a file” command opens a quick panel that displays all of the .sublime-settings and .sublime-keymap files that Sublime Text knows about (note that files located in the Packages/User directory are filtered out of this list; more on why it does this in a second). When a file in the quick panel is selected, it becomes the “left” panel in the comparison window. The “right” panel will contain the corresponding user settings file, typically located in the Packages/User directory (hence why files in User are filtered out).

Side-by-Side Settings tries to do the correct thing depending on the file you select in the quick panel. If the file you select is a platform-specific settings file (e.g. Default/Preferences (Windows).sublime-settings), the corresponding user file that gets opened will be Preferences.sublime-settings (in the Packages/User directory). This is due to the fact that platform- specific files in the User directory are ignored by Sublime Text. Likewise, if you select any .sublime-keymap file, the appropriate platform-specific .sublime-keymap file in the User directory will be opened.

Default Keyboard Shortcut

By default, the key-chord Ctrl+K, Ctrl+S is bound to the “select a file” command. If you wish to bind any of the commands to a different key, here are the internal command names to use:

  • sxs_select_file
  • sxs_settings
  • sxs_key_bindings

Here's an example key binding:

{ "keys": ["ctrl+k", "ctrl+p"], "command": "sxs_settings" }

Plug-in Settings

Side-by-Side Settings currently supports the following plug-in specific settings:

filter_platform: When enabled, platform specific files that do not match your current platform are filtered out of the files shown in the file selection panel. Defaults to true.

hide_minimap: Specifies whether the minimap should be displayed or not when opening a side-by-side session. Defaults to false.

open_in_distraction_free: This option allows the side-by-side window to open in distraction free mode, essentially resulting in a full-screen window. This option defaults to false.

Reporting Bugs & Suggesting Features

If you spot a bug in this plug-in, or you have a feature request, please open an issue over on the issues page at GitHub.

Acknowledgements

My thanks to the following folks:

  • Jeremy Bolding for providing several plug-in suggestions.
  • Ben Felder for suggesting the filter_platform option.