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?
Please sign in to leave a comment.
Please see http://stackoverflow.com/a/13374653/104891.
Hi Serge,
Thank you for your response. I don't see a File Types option under Editor.
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