Certain filename ignored as JavaScript file

I have a pretty weird issue in Phpstorm 8.0.3.

I have a JS-File called event.js and it's not recognized as js file (no thumbnail like other js-files and no syntax highlighting).
When I rename the file, i.e. to events.js (or something else), then it's recognized as JS file (syntax highlight works again and so forth...).
When I rename it back to event.js it's again not recognized again.

I guess I accidentally set a certain setting somewhere, anybody an idea? I already cleared the cache, without success.

0
2 comments

Please check if 'event.js' is added to text file patterns in  Settings | Editor | File types -> 'Text files' file type. Removing  this pattern should solve your problem

1
Avatar
Permanently deleted user

That was it! Thanks! :)

0

Please sign in to leave a comment.