question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Use glob pattern for file associations

See original GitHub issue

This icon set is awesome; thanks for all the hard work so far, it’s fantastic.

Further to the great work you’ve already done, it would be cool if I could set all files within a folder to use a certain icon; e.g:

"material-icon-theme.files.associations": {
  "**/reducers/*.js": "redux-reducer"
},

Keep up the good work.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:15
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

8reactions
PKiefcommented, Oct 9, 2018

Hi @JonJamesDesign, thank you for your kind feedback. I really like your idea, but the extensions API of VS Code doesn’t support glob patterns for file icon associations at the moment. There’s already an open issue in the official VS Code repository. Feel free to support it with a 👍

0reactions
pgbradburycommented, Apr 6, 2022

@PKief Looks like this will not be supported by vscode - https://github.com/Microsoft/vscode/issues/12493#issuecomment-1084511097

Read more comments on GitHub >

github_iconTop Results From Across the Web

File globbing - .NET - Microsoft Learn
Learn how to use file globbing in .NET to match various files with the same partial names, extensions, or segments.
Read more >
How to make VS Code treat a file extensions as a certain ...
In Visual Studio Code, you can add persistent file associations for language ... To find the proper language ID, use Ctrl + Shift...
Read more >
Changing the language mode for a file extension - YouTube
Today's VS Code setting: Files Associations Change the default language mode used for a file based on file extension or file name.
Read more >
When exactly would you use ".[^.]*" or ".??*" glob patterns?
One recommendation if you want to match all dot files without duplicates, use both of these together: .[^.] and .??* The first matches...
Read more >
How can I deal with file association in different application(not ...
So it's seems to me the applications not using well this file associations or i really don't understand the aim of file associations...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found