Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Regex for icons? #156

Open
andrefelipe18 opened this issue Dec 15, 2023 · 3 comments
Open

How to use Regex for icons? #156

andrefelipe18 opened this issue Dec 15, 2023 · 3 comments
Labels
feature request Request for new functionality

Comments

@andrefelipe18
Copy link

How to use Regex for icons?

I need files that have the prefix Test.php in their name to have different icons, how can I add this?
Screenshot_26
Screenshot_27

@miguelsolorio
Copy link
Owner

Unfortunately regex isn't supported for file associations, it would need to either be an exact file name match or wildcard at the dot level like:

"symbols.files.associations": {
  "*.test.php": "brackets-purple"
}

So it would only work with files that are named sample.test.php

@miguelsolorio miguelsolorio added the feature request Request for new functionality label Dec 16, 2023
@andrefelipe18
Copy link
Author

I need the Test.php suffix for cases like UserTest.php PagesTest.php

@andrefelipe18

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for new functionality
Projects
None yet
Development

No branches or pull requests

2 participants