1 打开软件进行设置
2 选择Suggestions取消默认设置
3 选择Files并对HTML语言进行设置关联
4 编写相关代码
内附代码:
{
"python.pythonPath": "E:\\Users\\lenovo\\AppData\\Local\\Programs\\Python\\Python38-32\\python.exe",
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"python.jediEnabled": false,
"files.autoSave": "afterDelay",
"emmet.triggerExpansionOnTab": true,
"files.associations": {
"*.html":"html"
},
"editor.suggest.filterGraceful": false,
"editor.suggest.snippetsPreventQuickSuggestions": false
}