JeremyFunk / hidefiles

A GitHub extension that allows to create custom profiles for file hiding
MIT License
7 stars 0 forks source link

Option to hide the profile in the menu #13

Closed jcstorino closed 1 year ago

jcstorino commented 1 year ago

It would be possible to include a key so that the profile is not displayed in the menu, I explain...

I have created several profiles that are used by other profiles to hide certain items, but the profiles used only to hide other profiles I would like them not to be displayed in the menu... Here is my configuration to be clearer.

"hidefiles.globalConfig": { "profiles": [ { "name": "Show TOTVSSP | Consinco", "hidden": [ "$Default", "$Hide IBA", "$Hide TTCloud", "$Hide TOTVSSP | Winthor", "$Hide TOTVSSP | Base-Tools", "$Hide TOTVSSP | Git-Config" ] }, { "name": "Show TOTVSSP | base-tools", "hidden": [ "$Default", "$Hide IBA", "$Hide TTCloud", "$Hide TOTVSSP | Consinco", "$Hide TOTVSSP | Winthor", "$Hide TOTVSSP | Git-Config" ] }, { "name": "Show TOTVSSP | Git-Config", "hidden": [ "$Default", "$Hide IBA", "$Hide TTCloud", "$Hide TOTVSSP | Consinco", "$Hide TOTVSSP | Base-Tools", "$Hide TOTVSSP | Winthor" ] }, { "name": "Show TOTVSSP | Winthor", "hidden": [ "$Default", "$Hide IBA", "$Hide TTCloud", "$Hide TOTVSSP | Consinco", "$Hide TOTVSSP | Base-Tools", "$Hide TOTVSSP | Git-Config" ] }, { "name": "Show IBA", "hidden": [ "$Default", "$Hide TTCloud", "$Hide TOTVSSP | Todos" ] }, { "name": "Show TTcloud", "hidden": [ "$Default", "$Hide TOTVSSP | Todos", "$Hide IBA", "**/Arquivos/", "**/Royal/" ] }, { "name": "Hide IBA", "hidden": [ "$Default", "**/IBA/", "**/SVN/", "**/projeto_iba/" ] }, { "name": "Hide TTCloud", "hidden": [ "$Default", "**/TTCLOUD/", "**/TTCloud/", "**/Arquivos/", "**/Royal/" ] }, { "name": "Hide TOTVSSP | Consinco", "hidden": [ "$Default", "**/tcloud-devops-consinco/" ] }, { "name": "Hide TOTVSSP | Winthor", "hidden": [ "$Default", "**/tcloud-devops-winthor/" ] }, { "name": "Hide TOTVSSP | Base-Tools", "hidden": [ "$Default", "**/tcloud-devops-base-tools/" ] }, { "name": "Hide TOTVSSP | Git-Config", "hidden": [ "$Default", "**/tcloud-devops-git-config/" ] }, { "name": "Hide TOTVSSP | Todos", "hidden": [ "$Default", "**/CLOUD/", "**/tcloud-devops-consinco/", "**/tcloud-devops-winthor/", "**/tcloud-devops-base-tools/", "**/tcloud-devops-git-config/" ] }, { "name": "Default", "hidden": [ "**/.github", "**/.project", "**/.vscode", "**/.git", "**/.svn", "**/.hg", "**/CVS", "**/VSC", "**/.DS_Store" ] } ] }

image