vscode 中 字符串模板中补全代码

论坛 期权论坛 编程之家     
选择匿名的用户   2021-6-2 20:46   927   0

文件-——>首选项——>设置,只需要改一下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"
}

分享到 :
0 人收藏
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

积分:3875789
帖子:775174
精华:0
期权论坛 期权论坛
发布
内容

下载期权论坛手机APP