Adds colors to tabs by project folder name (and optionally subfolders).
Fork of original project paulpflug/color-tabs with pull request applied and modified to color tabs by project root folder and optionally by subfolder levels within the project tree.
There are two ways of setting custom rules for your projects.
Use menu Packages -> Color Tabs by Project -> Edit Rules
to open the rules editor, then:
Custom rules based on
is set to project path
projects:"/your-project-path/":color: "#980909"
Custom rules based on
is set to project name
projects:"your-project-name":color: "#980909"
The hashed color is saved in the above project entry and can be overridden by Editing the above (e.g. using package color-picker).
Run npm install
in the package directory.
Open it in atom in dev mode or run apm link
.
For debugging set the debug field in package settings to the needed debug level.
Should autoreload the package on changes in lib
and styles
folders.
localStorage.debug = 'color-tabs-byproject'
# for a patch releaseapm publish patch# for a minor releaseapm publish minor# for a major releaseapm publish major
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.