vscode-symbols icon indicating copy to clipboard operation
vscode-symbols copied to clipboard

How to use Regex for icons?

Open andrefelipe18 opened this issue 1 year ago • 3 comments

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

andrefelipe18 avatar Dec 15 '23 18:12 andrefelipe18

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 avatar Dec 16 '23 01:12 miguelsolorio

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

andrefelipe18 avatar Dec 16 '23 01:12 andrefelipe18