WebStorm highlighting all tags as custom



I'm not sure if this is just normal but every single html tag in every html file I open shows as unknown. This makes it impossible to eliminate or see actual errors because there is just a sea of yellow on the scrollbar and every time I go to edit any html tag I get a pop-up saying "Unknown html tag [any tag] " which is a pain.

I'm not interested in removing inspections of custom tags as a whole because I might actually make a mistake and then I won't even be able to see it. Is this normal or am I missing something obvious. Tags like html, body and div seem pretty standard to me, I don't get why they are unknown.

HTML library for JavaScript is enabled if that means anything. And HTML 5 is selected as the default HTML language level.

Thanks in Advance

14 comments

What file type is *.html pattern associated with in Settings | Editor | File Types? Please attach a screenshot of your file so that I can see the file icon, plus a screenshot of  Settings | Editor | Language Injections pane

0

I think I've added what you asked :)

0

Please also attach a screenshot of your file (including file icon). Also, try renaming a file to different name - what is the result?

0

above is the view from WebStorm and the bottom is the explorer view.

New files, renamed files and completely different website files all have the same problem

0

strange indeed. Can you recreate the issue in a new project? Also, can you provide your settings (File | Export settings), .html file that shows up the issue plus your idea.log (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files)?

You can upload all this stuff to some file server and provide a link

0

 Both links show that files were expired or deleted:(

0

idea.log is not complete unfortunately, but I can see tons of exceptions related to schemas parsing... Looks as if the installation is somehow broken. What WebStorm version do you use? Did you try re-installing from scratch?

0

I have tried installing the new version from scratch

0

that log is the whole logs file in a zip

0

Thanks for the help, I've decided to do a fresh install of every Jet Brains piece of software instead of just WebStorm. I have all of them installed so I thought they might have been screwing with each other. It worked and now it all shows everything correctly. Bummed we never got to the actual problem but I guess the problem was a [very] broken install like you said. :)

2

Please sign in to leave a comment.