文件-——>首选项——>设置,只需要改一下setting.json文件即可

替换为下面的json,重启一下就ok啦
{ "window.zoomLevel": 1, "sublimeTextKeymap.promptV3Features": true, "editor.multiCursorModifier": "ctrlCmd", "editor.snippetSuggestions": "top", "editor.formatOnPaste": true, "workbench.activityBar.visible": true, "editor.fontFamily": "Consolas,Menlo,Consolas,'Courier New','monospace'", "editor.cursorBlinking": "smooth", "workbench.sideBar.location": "left", "emmet.triggerExpansionOnTab": true, "emmet.includeLanguages": { "javascript": "javascriptreact", "wxml": "html", }, "emmet.syntaxProfiles": { "JavaScript React": "jsx" }, "[javascriptreact]": {}, "files.associations": {
"*.js": "javascript", "*.cjson": "jsonc", "*.wxss": "css", "*.wxs": "javascript", "*.ts": "javascript" }, "[javascript]": { "editor.defaultFormatter": "vscode.typescript-language-features" }, "minapp-vscode.disableAutoConfig": true, "[typescript]": {
}, "editor.tabSize": 2, "javascript.implicitProjectConfig.experimentalDecorators": true, "editor.colorDecorators": false, "editor.fontSize": 13.5, "javascript.updateImportsOnFileMove.enabled": "always", "diffEditor.renderSideBySide": false, "workbench.colorTheme": "Dracula", "workbench.iconTheme": "material-icon-theme", "git.autofetch": true, "[html]": { "editor.defaultFormatter": "HookyQR.beautify" }, "[json]": { "editor.defaultFormatter": "vscode.json-language-features" }, "files.autoSave": "onFocusChange" }
|