Enable Javascript intellisence
Answered
I have an html file that contains only javascript but no script tag. As a result phpstorm renders the file as a text file, although it has only javascript. Is there a way that I can set phpstorm to interpret that html file as a javascript file ( i.e. customise override phpstorm to view the file as javascript )
Alec
Please sign in to leave a comment.
Hi there,
If renaming a file is not possible -- then the only option AFAIK is to associate whole file name (e.g. "file.html") with that file type (see #2 above). Downside -- it will affect ALL files with such name in ALL projects. So if that is some commonly used file name ... it will be rather problematic to use it.