Reputation: 8926
It has a different icon and is shown with Text
and Data
tabs in the bottom. It seems somehow related to its name: test_events.py
. Only if I name it this way, PyCharm exhibits this behavior. Using text_eventz.py
is OK. How do I fix it?
Upvotes: 3
Views: 98
Reputation: 97168
Please check Settings | Editor | File Types | Text | Registered patterns. This file name may have gotten mapped to the "Plain text" file type; if you remove the erroneous mapping, everything will start working correctly.
(This is a bug in PyCharm, but unfortunately we don't know the exact steps to reproduce it.)
Upvotes: 2