Assuming you have .gitignore files in your GIT main folder:
How to set up, two steps:
1: Configuration, View Modes:
Add, Add new view mode, give it a name, say "GitView"
Set tab color, tab icon, background colors and other preferences you may have
2: Configuration, View Modes, Auto Switch Mode:
Add
Two Rules (after setting D: Directory click more sub rules):
D: Directory
&
?At least one match, filetype: .gitignore
Set this mode: GitView
Apply, OK
Now each time you enter a folder with a .gitignore file in it you should see the colors you've set in GitView (step 1), when you leave the folder they should return to your default color settings.
(I couldn't get it to work with .GIT as directory instead of .gitignore as a file, apparently it doesn't work that way or I've made a mistake)
How to set up, two steps:
1: Configuration, View Modes:
Add, Add new view mode, give it a name, say "GitView"
Set tab color, tab icon, background colors and other preferences you may have
2: Configuration, View Modes, Auto Switch Mode:
Add
Two Rules (after setting D: Directory click more sub rules):
D: Directory
&
?At least one match, filetype: .gitignore
Set this mode: GitView
Apply, OK
Now each time you enter a folder with a .gitignore file in it you should see the colors you've set in GitView (step 1), when you leave the folder they should return to your default color settings.
(I couldn't get it to work with .GIT as directory instead of .gitignore as a file, apparently it doesn't work that way or I've made a mistake)
Statistics: Posted by hi5 — 2025-01-22, 17:32 UTC