Reputation: 79
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?
Upvotes: 5
Views: 6189
Reputation: 1
I'm a beginner and had the same problem (no Closing-tags, no Brackets-icons, no auto-html:5 option, and no right-click-option to "Open with Live Server").
Solution: Answer from Chidimo + Configure file association for ".html" and select HTML.
Click on Language (see print screens Sathish) for 'Select Language Mode' Then type: 'Configure file association for ".html' and select HTML. Restart VSC.
My 4 problems are solved with this solution! (Thanks to @Rick ;-))
Upvotes: 0
Reputation: 2948
I found an answer on another SO thread.
Open your settings.json
file on VSCode and include this line "files.associations": {"*.html": "html"}
Upvotes: 9
Reputation: 688
select the HTML Tag on the Bottom, it will open the modal and select the HTML in the opened modal.. it works
Upvotes: 5