2021-08-25

vscode中setting.json配置

{
“git.ignoreMissingGitWarning”: true,
“editor.fontSize”: 14,
“editor.fontWeight”: “100”,
“editor.multiCursorModifier”: “ctrlCmd”,
“editor.snippetSuggestions”: “top”,
“editor.tabSize”: 2,
“editor.formatOnPaste”: true,
“explorer.confirmDelete”: false,
“vetur.format.scriptInitialIndent”: true,
“vetur.format.styleInitialIndent”: true,
“editor.minimap.maxColumn”: 150,
“[javascript]”: {
“editor.formatOnSave”: false,
“editor.defaultFormatter”: “dbaeumer.vscode-eslint”
},
“[javascriptreact]”: {
“editor.formatOnSave”: false,
},
“[typescript]”: {
“editor.formatOnSave”: false,
“editor.defaultFormatter”: “esbenp.prettier-vscode”,
},
“[typescriptreact]”: {
“editor.formatOnSave”: false,
“editor.defaultFormatter”: “vscode.typescript-language-features”,
},
“eslint.run”: “onSave”,
“eslint.options”: {
“configFile”: “.eslintrc.js”
},
“eslint.validate”: [
“vue”,
“html”,
“javascript”,
“typescript”,
“javascriptreact”,
“typescriptreact”
],
“stylelint.configOverrides”: {
“ignoreFiles”: [
/*.ts",
".
.js”,
/*.js",
"
/.jpg",
"**/
.png”,
/*.eot",
"
/.ttf",
"**/
.woff”,
/*.md",
"dist/
”,
“node_modules/"
]
},
“files.autoSave”: “afterDelay”,
“files.autoSaveDelay”: 20000, //无操作5秒后自动保存
“emmet.triggerExpansionOnTab”: true,
“fileheader.customMade”: {
“Author”: “qiaoxin”,
“Email”: “qiaoxinfc@gmail.com”,
“Date”: “Do not edit”,
“LastEditors”: “qiaoxin”,
“LastEditTime”: “Do not edit”,
“Description”: “”,
},
“fileheader.cursorMode”: {
“param”: “”,
“return”: “”,
“description”: “”
},
“fileheader.configObj”: {
“createFileTime”: true,
“language”: {
“java”: {
“head”: “/$$”,
“middle”: " $ @",
“end”: " $/"
},
“vue”: {
“head”: "/
”,
“middle”: " * @",
“end”: “/",
}
},
“autoAdd”: false,
“autoAddLine”: 150,
“autoAlready”: true,
“annotationStr”: {
“head”: "/
”,
“middle”: " * @",
“end”: " */",
“use”: false
},
“headInsertLine”: {
“php”: 2
},
“beforeAnnotation”: {},
“afterAnnotation”: {},
“specialOptions”: {},
“switch”: {
“newlineAddAnnotation”: true
},
“prohibitAutoAdd”: [
“json”
],
“moveCursor”: true,
“dateFormat”: “YYYY-MM-DD HH:mm:ss”,
“atSymbol”: “@”,
“atSymbolObj”: {},
“colon”: ": ",
“colonObj”: {},
“filePathColon”: “路径分隔符替换”,
“showErrorMessage”: false
},
“[html]”: {
“editor.defaultFormatter”: “vscode.html-language-features”
},
“[jsonc]”: {
“editor.defaultFormatter”: “vscode.json-language-features”
},
“prettier.printWidth”: 300,
“[json]”: {
“editor.defaultFormatter”: “vscode.json-language-features”
},
“[vue]”: {
“editor.defaultFormatter”: “dbaeumer.vscode-eslint”
},
“editor.formatOnSave”: true,
“editor.codeActionsOnSave”: {
“source.fixAll.eslint”: false
},
“vetur.validation.template”: false,
“workbench.iconTheme”: “vscode-icons”,
“eslint.migration.2_x”: “off”,
“eslint.packageManager”: “yarn”,
“prettier.packageManager”: “yarn”,
“prettier.endOfLine”: “lf”,
“prettier.bracketSpacing”: false,
“javascript.preferences.quoteStyle”: “single”,
“typescript.preferences.quoteStyle”: “single”,
“html.format.wrapLineLength”: 150,
“editor.wordWrapColumn”: 150,
“eslint.format.enable”: true,
“eslint.codeAction.disableRuleComment”: {},
“stylelint.config”: {
“unicode-bom”: “never”
},
“stylelint.packageManager”: “yarn”,
“[less]”: {
“editor.defaultFormatter”: “michelemelluso.code-beautifier”
},
“html.format.endWithNewline”: true,
“html.format.indentHandlebars”: true,
“html.format.indentInnerHtml”: true,
“vetur.completion.autoImport”: false,
“workbench.colorTheme”: “Default Dark+”,
“html.autoClosingTags”: false,
“vetur.format.defaultFormatter.js”: “prettier-eslint”,
“vetur.format.defaultFormatter.html”: “js-beautify-html”,
“markdown.preview.breaks”: true
}

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

eadela

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值