*.module.ts files have stopped code highlighting and intellisense

It just started happening yesterday afternoon - when I open up an Angular Module (which has a .module.ts ext.) typescript file all the text is white and I have no intellisense or code completion. No issues with any other type of file - component, spec, service etc

Do you know how to resolve it?

I am currently reinstalling WebStorm latest version 2019.1.2

 

 

 

2 comments
Comment actions Permalink

Looks as if the *.module.ts pattern is assigned to Text file type; please check the registered patterns in Preferences | Editor | File types -> Text file type - can you see any patterns with .ts suffix there?

1
Comment actions Permalink

That's it. No idea how I managed that!

Thank you very much.

0

Please sign in to leave a comment.