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 230
  • Linux 215
Jul 27 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
Windows 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 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 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 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 0 0 0 1 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.