Pycharm File Type Association -Unexpected , Bizarre Behavior

A python (.py)  file in the root of a directory marked as "sources" is showing up with a mystery Icon and is not treated as a .python .py file, like others are. How Do I fix this?

So If an expert were wanting to display their wisdom....In addition to the "How do I fix this?"....

1) Where can I found a list/gallery/library of all these little icons and what is associated with it... (This one does NOT appear in the list Preferences/Editor/File Types.  It is close to a text file, but no "X" in the upper left).

2) How can I search some file association list to see what a particular file name matches up to?


PyCharm 2020.1.1 (Professional Edition)
Build #PY-201.7223.92, built on April 29, 2020
Licensed to <my company name witheld>

Runtime version: 11.0.6+8-b765.40 x86_64

VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.14.6
GC: ParNew, ConcurrentMarkSweep
Memory: 1981M
Cores: 8
Non-Bundled Plugins: IdeaVIM, cn.jxzhang.plugin.json-formatter, com.godwin.json.parser, com.toan2.yapf, com.ultrahob.zerolength.plugin, net.seesharpsoft.intellij.plugins.csv, BashSupport, izhangzhihao.rainbow.brackets, ru.adelf.idea.dotenv, org.zalando.intellij.swagger


1 comment
Comment actions Permalink

Check file type settings (

Make sure that *.py is under Python type, "" is not under any other type.


Please sign in to leave a comment.