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

JB default instead Atom icon for .py file icon is shown on the sidebar in PyCharm 2024.2 #465

Open mhxion opened 3 weeks ago

mhxion commented 3 weeks ago

Describe the bug

Atom icon for .py file extension is correctly shown on the opened tab, but not on the sidebar (file icon association has not been changed of course), on an existing project.

screenshot_wrong_atom_icon

Oddly enough, the bug cannot be reproduced with other file associations like with .js files!

To Reproduce

  1. Update PyCharm to 2024.2
  2. Open an existing project
  3. Create a .py file

Expected Behavior

It should show the Atom Python icon. Screenshot 2024-08-20 at 4 26 11 PM

Environment

PyCharm 2024.2 (Professional Edition)
Build #PY-242.20224.347, built on August 9, 2024
Licensed to <me>
Subscription is active until <datetime>.
Runtime version: 21.0.3+13-b509.4 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 14.6.1
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 3072M
Cores: 8
Metal Rendering is ON
Registry:
  ide.balloon.shadow.size=0
  debugger.new.tool.window.layout=true
  ide.intellij.laf.enable.animation=true
  ide.experimental.ui=true
  terminal.new.ui=true
Non-Bundled Plugins:
  com.vecheslav.darculaSolidTheme (1.0.3)
  com.intellij.ideolog (242.20224.385)
  com.github.beansoft.iscratch (2024.2.1)
  com.intellij.ml.llm (242.20224.421)
  org.jetbrains.jettrain (0.7.0)
  com.koxudaxi.ruff (0.0.35)
  ru.adelf.idea.dotenv (2024.2.1)
  com.mallowigi (97.0.0)
jkazimierczak commented 2 weeks ago

I had the same issue for a few months no matter whether it was 2023.x.x or 2024.x.x IDEs. It also seems, that the same issue persists with the installation of Classic UI plugin, so it doesn't seem related to the UI stye.

Unless the plugins collide in my case, and the Classic UI takes precedence over Atom Icons, but I doubt that, since the OP has New UI.

Example of how it looks with Classic UI plugin:

image

An instance of the built-in icons can also be found in the File Types settings - I don't know if it affects the issue somehow though.

image

IDE Details:

PyCharm 2024.2.0.1 (Professional Edition)
Build #PY-242.20224.428, built on August 21, 2024
Licensed to $whoami
Subscription is active until November 4, 2024.
For educational use only.
Runtime version: 21.0.3+13-b509.4 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 10.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 4
Registry:
  ide.balloon.shadow.size=0
  ide.new.editor.tabs.vertical.borders=true
  ide.animate.toolwindows=true
  ide.editor.tab.selection.animation=true
Non-Bundled Plugins:
  com.intellij.classic.ui (242.20224.159)
  com.github.lppedd.idea-conventional-commit (0.23.1)
  com.intellij.plugin.adernov.powershell (2.7.0)
  com.github.lppedd.idea-conventional-commit-commitlint (0.1.2)
  String Manipulation (9.14.1)
  net.seesharpsoft.intellij.plugins.file-preview (1.6.4)
  ru.adelf.idea.dotenv (2024.2.1)
  com.mallowigi (97.0.0)
  mobi.hsz.idea.gitignore (4.5.3)
  com.github.copilot (1.5.20.6554)
  com.chrisrm.idea.MaterialThemeUI (9.4.1)