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 234
  • Linux 217
Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23
Windows 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 2 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
Mac 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 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 1 0 0 0 0 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.