[Visual] detail.css not properly displaying

Answered

Hi, I have a strange case that if I name a file "detail.css" - either by creating a new file or renaming an existing one - it changes the icon, not displaying as a css anymore.
The file itself works perfectly fine, it is just a graphics bug.

5 comments
Comment actions Permalink

Hi,

Perhaps it is for some reason associated with the Text file type.
You can check it in Settings/Preferences | Editor | File Types

Is that the case?

0
Comment actions Permalink

I checked the setting and couldn't find anything like that. I also don't remember changing the settings on that at all.

0
Comment actions Permalink

Let's try File | Manage IDE Settings | Restore Default Settings. PyCharm will automatically back up your current config so you'll be able to import it later on.

Has it helped?

0
Comment actions Permalink

This helped. So I guess there is some setting I didn't spot. For a single file to not display/lint properly I doubt it is worth the effort searching for it. Thanks for the help.

0
Comment actions Permalink

just found it going through file types again. detail.css hid inside auto-detect file type by content.

0

Please sign in to leave a comment.