VS Code not recognizing HTML?

Austin Beaufort
2 min readMar 19, 2020

--

Let’s fix that.

The Problem:

The HTML file was not being recognized as HTML. It was reading as a .txt file and emmet autocomplete would not work.

The solution:

  • Go to File, Preferences, Settings
  • Type “files.associations” into the search bar, and then click “Edit in settings.json”
  • Last thing. Add the following line to your settings.json file.

And that should do it. VSCode will now recognize your file as HTML and the Emmet autocomplete will now work!

Want to connect?

--

--