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
220 stars 27 forks source link

PDF files show default icon #124

Closed liurui39660 closed 3 years ago

liurui39660 commented 3 years ago

Description

In the Project hierarchy, pdf files show the default icon, not the one provided by this plugin.

The icon in the navigation bar and editor tabs are correct.

System Info

Atom Material Icons 27.0 CLion 2020.2.4 Windows 10

Screenshot

In Project hierarchy

image

In the navigation bar and editor tabs

image

mallowigi commented 3 years ago

Can you post the list of plugins you use?

liurui39660 commented 3 years ago

24 enabled 3rd party plugins in total, exported from troubleshooting.txt

mallowigi commented 3 years ago

Can you please disable PDF Viewer and tell me if that helps ?

liurui39660 commented 3 years ago

No luck, I disabled it and restarted the IDE, the icon is still incorrect.

mallowigi commented 3 years ago

The culprit is TeXiFy IDEA

liurui39660 commented 3 years ago

Yep, now it's correct. I'll open an issue in their repo to report this problem. Thanks for your help.

mallowigi commented 3 years ago

PyCharm has the same issue, and I resolved it by adding a Project View Decorator since it was only affected there. However Project View Decorators are bad performance wise so it has to be used with parsimony.

The bug is open there https://youtrack.jetbrains.com/issue/PY-44417 but I don't think they'll fix them soon.

But you can try to talk to the TeXiFy team, maybe they can circumvent this issue by assigning a lesser priority than the Atom Plugin.