Reputation: 2272
How can I set project folders to distinct colors and the files tabs take that color as a background in WebStorm & IntelliJ?
Upvotes: 1
Views: 903
Reputation: 165471
Define custom Scope(s) that will include desired files/folders at Settings/Preferences | Appearance & Behavior | Scopes
https://www.jetbrains.com/help/webstorm/settings-scopes.html
Apply settings (so the scopes are saved)
Create entries at Settings/Preferences | Appearance & Behavior | File Colors
-- one entry per scope and associate it with a desired color.
Make sure that the appropriate checkboxes are selected (where to use those colors)
https://www.jetbrains.com/help/webstorm/configuring-scopes-and-file-colors.html
NOTE: colors applied from top to the bottom: first match will get the color.
Upvotes: 4