简体   繁体   English

VS Code 不再识别 html 文件

[英]VS Code no longer recognising html files

For some reason when I try to create an html file vs code doesn't seem to recognize it and nothing html related works within it (autocomplete, etc).出于某种原因,当我尝试创建 html 文件时,代码似乎无法识别它,并且其中没有任何与 html 相关的工作(自动完成等)。 I'm not really sure where to go from here since VS code has been my go-to work environment.由于 VS 代码一直是我的首选工作环境,因此我不确定该从哪里开始。 Here's a picture of what it's saving the file as (usually the logo beside the file would look like this: <> ):这是将文件另存为的图片(通常文件旁边的徽标如下所示: <> ): 在此处输入图片说明

You should be able to just save it as html.您应该能够将其保存为 html。

otherwise in the bottom right there is an option to change the language否则在右下角有一个更改语言的选项vs 代码语言选择器

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM