AtomMaterialUI / a-file-icon-idea

Atom Material Icons for JetBrains - Replace File and UI Icons for better visual grepping.
http://www.material-theme.com/docs/configuration/icons-settings/#atom-material-icons-plugin
MIT License
225 stars 28 forks source link

ESLint.config.js file showing the wrong icon #429

Closed JamiesonRoberts closed 11 months ago

JamiesonRoberts commented 11 months ago

Describe the bug ESLint's new flat config files are now displaying the correct icon

To Reproduce create a file with the filename of eslint.config.js and see that the icon is a JS icon instead of ESLint

Expected Behavior It should show the ESLint icon

Environment IntelliJ PHPStorm on Mac M1 - plugin version 93.1.0

JamiesonRoberts commented 11 months ago

As a follow up to this, it should be fairly easy to fix. I copied the syntax for prettier and tweaked for ESLint and it worked

^(\.eslint|eslint\.config)(\.[cm]?js|ts|json|ya?ml)?$ appears to work

mallowigi commented 11 months ago

you can open a PR if you want

JamiesonRoberts commented 11 months ago

@mallowigi I would love to, however I've never worked with a project in this language. I would love to contribute other changes as well, however I've never worked with Java before. Can you point me in the right direction where I can make that change?

mallowigi commented 11 months ago

https://github.com/mallowigi/iconGenerator

You need to add it to icon_associations.xml (or folder_associations for folders)

GitHub
GitHub - mallowigi/iconGenerator: Icon Collection used within the Atom Material Icons plugins (for JetBrains, Chrome and Firefox)
Icon Collection used within the Atom Material Icons plugins (for JetBrains, Chrome and Firefox) - GitHub - mallowigi/iconGenerator: Icon Collection used within the Atom Material Icons plugins (for ...