material-extensions/vscode-material-icon-theme

"material-icon-theme.files.associations" won't work inside nested folders

Opened this issue · 0 comments

Describe the bug
I have the following setting for file associations:
"material-icon-theme.files.associations": { "*.sagas/js": "redux-reducer" }
It works fine for the files that are directly inside the sagas folder. but doesn't work for files inside nested folders.
For Example: I have sagas/1ChildFolder. The icon change does not apply for the files inside 1ChildFolder, but works fine for files that are directly inside sagas folder.

Expected behavior
The icon change should be applied to all *.js files inside the parent folder.

Screenshots
Screenshot 2024-05-22 at 5 07 20 PM

Computer information (please complete the following information):

  • OS edition: MacOS Sonoma
  • OS build: 14.4
  • VSCode version 1.89.1

Additional context
Proposed solution: Enable the icon change for all *.js in the parent folder irrespective of the child folder they are in.