Vscode-material-icon-theme: Add "_constants" "_helpers" "_guards" to folder names

Created on 13 Sep 2019  路  4Comments  路  Source: PKief/vscode-material-icon-theme

Can we have folders with underscore prefixes be included as well.

Most helpful comment

You can configure these folder names in your user settings in VS Code like this:

"material-icon-theme.folders.associations": {
    "_constants": "constant",
    "_helpers": "helper",
    "_guards": "guard",
}

And the result will look like this:

image

All 4 comments

You can configure these folder names in your user settings in VS Code like this:

"material-icon-theme.folders.associations": {
    "_constants": "constant",
    "_helpers": "helper",
    "_guards": "guard",
}

And the result will look like this:

image

Issue will be closed now because the request is very specific and can be adjusted via the user settings.

IMO this is used very often and could be added to the settings as optional. Would help out your users a lot with not having to define every folder or file.

One more requesting this! Its quite common to have things like: '_share' / '_components'. Another suggestion is to have a way to set it up globally, something like:

"material-icon-theme.folders.matches": ["_{folders}", "__{folders}"]

To add one or two underscores.

Btw, I created a small gist with all the folder name associations

Happy to do a PR for this if you consider.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lazercaveman picture lazercaveman  路  5Comments

alchermd picture alchermd  路  5Comments

GeraldNDA picture GeraldNDA  路  5Comments

SMotaal picture SMotaal  路  4Comments

dudeonthehorse picture dudeonthehorse  路  3Comments