Naming my file v1 makes the IDE think it's a text file and removes all the syntax highliting

Answered

In my intellij ide, I have a file named v1.clj. But the IDE seems to think this is a text file and does not highlight syntax for clojure. It's super frustrating. This only happens when the file name is v1. Can you please suggest ways to fix this?

0
3 comments
Avatar
Permanently deleted user

Hi Serge,

Thank you for your response. I don't see a File Types option under Editor. 

0
Avatar
Permanently deleted user

It worked. Thanks.

Way I fixed it: 

On a mac what I did was go to IntelliJ IDE | Preference | Editor | File Types | choose Text file | Find filename in registered patterns | remove it by clicking - button

0

Please sign in to leave a comment.