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

Conditional Color​Schemes

Define separate color schemes for specific paths, extensions, & filenames.

Details

Installs

  • Total 2K
  • Win 1K
  • Mac 228
  • Linux 213
May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 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
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 1 1 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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
Linux 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Conditional ColorSchemes

Define color schemes for specific paths, extensions, & filenames.

FEATURES

Color Schemes For Specific Directories

You can define RegEx patterns to match:

  • parent directories
  • sequences of subdirectories
  • sequences of subdirectories within a particular parent directory

Additionally, there is an include_FileName_In_FilePath setting which allows you to match:

  • specific files with an exact path
  • specific files with a particular extension within one of the previously mentioned directory patterns

Color Schemes For Specific Files

You can define RegEx patterns to match:

  • file extensions
  • complete file names
  • partial file names

USAGE

Copy the contents of the example settings:
Preferences > Package Settings > Conditional ColorSchemes > Settings ─ Example
to your user settings file:
Preferences > Package Settings > Conditional ColorSchemes > Settings ─ User
and edit them as necessary.

User settings can also be accessed via the command palette with the Conditional ColorSchemes: Edit Settings command.

Note:
When adding new conditions, files that were already open must be reloaded in order for the color schemes to be affected.

KNOWN BUGS

When SublimeText is first opened, files are loaded before plugins.

Because of this, only files which are opened after SublimeText is fully loaded will be affected by this plugin.