Skip to content

[icon-themes] Support for folder / directory names in file associations (Icon themes) #136656

Closed

Description

#12493 specifies globs in file associations, but I'd really like to match based on folder name as well.

For example, Ember uses config/environment.js which in a perfect world the File Icon API would consume into:

<div class="monaco-icon-label file-icon environment.js-name-file-icon js-ext-file-icon ext-file-icon config-dir-file-icon javascript-lang-file-icon file-icon">
<!-- ::before -->
</div>

File icon packs would then just do this: { "config/environment.js": "../icons/ember.svg" }.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code Insiderson-testplanthemesColor theme issues

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions