vscode的编辑器设置settings.json

{
“editor.fontSize”: 15,
“editor.fontFamily”: “consolas, Micorsoft Yahei , monaco ,‘Courier New’, monospace”,
“window.zoomLevel”: 0,
“editor.tabSize”: 2,
“editor.wordWrap”: “on”,
// 通过使用鼠标滚轮同时按住 Ctrl 可缩放编辑器的字体
“editor.mouseWheelZoom”: true,
“files.autoSave”: “onFocusChange”,
// 控制是否显示 minimap
“editor.minimap.enabled”: true,
“workbench.editor.enablePreview”: false,
// 覆盖当前所选颜色主题中的编辑器颜色和字体样式。
“workbench.colorCustomizations”: {
“editor.selectionBackground”: “#ff9650”,
“editor.selectionForeground”: “#f9f9ea”
},
“sublimeTextKeymap.promptV3Features”: true,
“editor.multiCursorModifier”: “ctrlCmd”,
“editor.snippetSuggestions”: “top”,
“editor.formatOnPaste”: true,
“editor.lineHeight”: 24,
“liveServer.settings.donotVerifyTags”: true,
“liveServer.settings.donotShowInfoMsg”: true,
“git.ignoreMissingGitWarning”: true,
“files.encoding”: “utf8”,
“powermode.enabled”: true,
“powermode.presets”: “flames”,
“powermode.enableShake”: true,
“open-in-browser.default”: “chrome”,
“php.validate.executablePath”: “D:/install/PhpStudy/PHPTutorial/php/php-7.2.1-nts/php.exe”,
“php.executablePath”: “D:/install/PhpStudy/PHPTutorial/php/php-7.2.1-nts/php.exe”,
“workbench.sideBar.location”: “left”,
“workbench.statusBar.visible”: true,
“workbench.activityBar.visible”: true,
“javascript.updateImportsOnFileMove.enabled”: “always”,
“terminal.integrated.rendererType”: “dom”,
“extensions.ignoreRecommendations”: false,
“search.followSymlinks”: false,
“explorer.confirmDragAndDrop”: false,
“explorer.confirmDelete”: false,
“emmet.syntaxProfiles”: {
“vue-html”: “html”,
“vue”: “html”
},
“emmet.includeLanguages”: {
“vue-html”: “html”,
“vue”: “html”,
“javascript”: “javascriptreact”,
“wxml”: “html”
},
“emmet.triggerExpansionOnTab”: true,
“liveSassCompile.settings.generateMap”: false,
“beautify.language”: {
“js”: {
“type”: [
“javascript”,
“json”
],
“filename”: [
“.jshintrc”,
“.jsbeautify”
]
},
“css”: [
“css”,
“scss”,
“less”
],
“html”: [
“htm”,
“html”
]
},
“editor.renderIndentGuides”: false,
“workbench.startupEditor”: “newUntitledFile”,
“editor.foldingStrategy”: “indentation”,
“terminal.external.windowsExec”: “C:\WINDOWS\System32\cmd.exe”,
“terminal.integrated.shell.windows”: “C:\WINDOWS\System32\cmd.exe”,
“window.title”: “ d i r t y {dirty} dirty{activeEditorLong} s e p a r a t o r {separator} separator{rootName} s e p a r a t o r {separator} separator{appName}”,
“diffEditor.ignoreTrimWhitespace”: true,
“editor.quickSuggestions”: {
“strings”: true
},
“breadcrumbs.enabled”: true,
“[html]”: {
“editor.defaultFormatter”: “vscode.html-language-features”
},
“[less]”: {
“editor.defaultFormatter”: “HookyQR.beautify”
},
“[javascript]”: {
“editor.defaultFormatter”: “esbenp.prettier-vscode”
},
“[json]”: {
“editor.defaultFormatter”: “vscode.json-language-features”
},
“[css]”: {
“editor.defaultFormatter”: “esbenp.prettier-vscode”
},
“less.compile”: {
//使less保存变为wxss文件
“outExt”: “.wxss”
},
“window.menuBarVisibility”: “default”,
“cssrem.rootFontSize”: 32,
“eslint.validate”: [
“javascript”,
“javascriptreact”,
“vue-html”,
{
“language”: “vue”,
“autoFix”: true
},
“html”,
“vue”
],
“eslint.autoFixOnSave”: true,
// 需要 npm install -g eslint-plugin-vue
“eslint.options”: {
“extensions”: [
“.js”,
“.vue”
]
},
“[jsonc]”: {
“editor.defaultFormatter”: “vscode.json-language-features”
},
“vsicons.dontShowNewVersionMessage”: true,
“files.associations”: {
.cjson": “jsonc”,
"
.wxss”: “css”,
“*.wxs”: “javascript”
},
“minapp-vscode.disableAutoConfig”: true,
“editor.codeActionsOnSave”: {
“source.fixAll.eslint”: true
},
“editor.formatOnSave”: true,
“workbench.iconTheme”: “material-icon-theme”,
“liveServer.settings.CustomBrowser”: “chrome”,
“[vue]”: {
“editor.defaultFormatter”: “esbenp.prettier-vscode”
},
“editor.rename.enablePreview”: false,
}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值