Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VSCode doesn't recognize html files

After clearing system's cache, VSCode doesn't recognize html files. So, now I can see brackets icon only in htm files. Here's an example. And before clearing html files were also recognized. So, what's the matter and how can I solve this problem?

like image 455
Dima Mishuto Avatar asked Jan 01 '23 04:01

Dima Mishuto


1 Answers

I found an answer on another SO thread.

Open your settings.json file on VSCode and include this line "files.associations": {"*.html": "html"}

like image 61
chidimo Avatar answered Jan 13 '23 23:01

chidimo