IDEA recognizes *.css file as *.xml

Hello, folk.

Several days ago I had started a new project with Struts2 framework. When I tried to add new stylesheet file into /web/styles folder, IDE had created it, but recognized this file as xml. I checked my file associations in the settings but they looks correct, and I have no ideas about a reason of such software behavior.

Is it a bug, or are there any workaround related to this issue?

Regards,
Mikhail.



Attachment(s):
issue.png
2 comments

Make sure you don't have *.css in XML file type as well.

0

Oh, damn. You're right, I had name of the file in the configuration. I'm a muddler.

I'm grateful for your help.

0

Please sign in to leave a comment.