之前由于代码块不能自动补全查看其它博主解决方案修改了settings.json
// {
// "window.zoomLevel": 0,
// "terminal.integrated.rendererType": "dom",
// "editor.suggest.snippetsPreventQuickSuggestions": false,
// "files.associations": {
// "*.vue":"html"
// },
// "editor.fontLigatures": null
// }
解决方案
将其修改为默认值
{
"workbench.editor.untitled.hint": "hidden",
"files.autoSave": "afterDelay",
"editor.suggest.snippetsPreventQuickSuggestions": false,
"[json]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace"
},
"editor.fontLigatures": null
}