Skip to content

averrin/color-tabs-regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sorry, this plugin not supported anymore.

But you can try some alternative: here

color-tabs-regex package

Use color-tabs package with regex.

This package use color-tabs services, and String.match or minimatch for tabs coloring.

Just edit ~/.atom/color-tabs-regex.cson (you can open it by "Color Tabs Regex: Edit Rules" command) like

"regex": "#color"
"prefix":
  "regex": "#anothercolor"

When using prefixes, the prefix and the regex are concatenated (e.g. if the prefix is "foo/" and the regex is "bar", it will check for matches with "foo/bar")

Settings

  • On settings page you can toggle "Break on first match" behavior.
  • Select regex engine: String.match or minimatch (default)

Screenshots

settings tabs

Example

"color-tabs":
  "-regex/":
    ".*": "rgb(75, 99, 0)"
  "/lib" : "rgb(142, 65, 23)"
"opened-files/":
  ".*?\\.coffee": "rgb(134, 90, 16)"

".*\\.py": "rgb(81, 201, 38)"
".json": "rgb(196, 189, 91)"
".cson": "rgb(196, 189, 91)"
".xml": "rgb(196, 189, 91)"