htmlvisual-studio-code

VS Code isn't recognizing html files


VS had suddenly stopped recognizing HTML files and it doesn't autocomplete tags or even show the syntax unless I manually input every single file name in it, I would really appreciate the help on any idea how to solve that Here is how it looks:

I have tried many things but nothing seems to work or help fix it


Solution

  • See if this solves the problem: On the bottom right of the application, you should see something like this:bar

    Click on the "Plain text".

    search

    Search HTML in the list and click it.

    Then your HTML should turn colorful.