Closed pgbradbury closed 2 years ago
Please apologize the late response, but what kind of settings.json are you using? The icon associations are only working in the user settings and not in the workspace settings. Hopefully this helps you :)
If you're wondering why the workspace settings are not working, there's already an issue (#208) for it.
Hi @PKief , no problem, I am using the user settings. All other custom icon associations are working there, just the Sentry ones are not.
This is the block I have in the settings.json
"material-icon-theme.files.associations": {
"package-lock.json": "Npm",
"restql.yml": "Restql",
"poetry.lock": "../../../icons/poetry",
"pyproject.toml": "Python",
"*.test.py": "Test-js",
"*.steps.ts": "Test-ts",
"docker-compose.init.yml": "Docker",
"lint.report.json": "Eslint",
"sentry.properties": "Sentry",
"sentry.client.config.js": "Sentry",
"sentry.server.config.js": "Sentry",
"tsconfig.json": "Typescript-def",
"next.config.js": "Vercel",
"store.ts": "Redux-action",
"*.reducer.ts": "Redux-reducer",
"*.saga.ts": "Redux-store"
},
Screenshot here:
@PKief any ideas on this?
Hi @pgbradbury, sorry I can't reproduce it. I used the same settings as you pasted above and it's working. You could try to run the command "Material Icons: Restore Default Configuration" to delete the config. Make sure that you've copied your config somewhere else as a backup. As a last try you could try to reinstall the extension itself. As another solution you could also check if the sentry icon is existing in the icons directory of the Material Icons extensions folder and if you can open it e.g. with a web browser.
I have assigned the sentry icon to a few file types like this in my settings.json
along with several other icons. The rest work correctly, these files now show no icon.