vscode 通用配置

153 阅读1分钟

{
"editor.fontSize": 16,
"editor.fontFamily": "Consolas",
"explorer.confirmDelete": false,
"git.ignoreMissingGitWarning": true,
"editor.fontLigatures": true,
"[javascript]": {},
//配置新建文件注释和方法注释
"fileheader.configObj": {
"createFileTime": true,//设置为true则为文件新建时候作为date,否则注释生成时间为date
"autoAdd": false,//自动生成注释,老是忘记的同学可以设置
"annotationStr": {
"head": "/*",
"middle": " * @",
"end": " */",
"use": true//设置自定义注释可用
},
"headInsertLine": {
"php": 2
}
},
"fileheader.cursorMode": {
"version": "1.0",
"description":"description",
"param ":"{}",
"return":"{}"
},
"fileheader.customMade": {
"version": "1.0",
"Description":"description" ,//文件内容描述
"Author":"xx",//编辑人
"Date": "Do not edit",//时间
"LastEditTime": "Do not edit",
"LastEditors": "zxx",
"email": "bear393048@163.com"
},
// "terminal.integrated.shell.windows": "C:\Program Files\Git\bin\bash.exe",
"terminal.integrated.shell.windows": "cmd.exe",
"terminal.integrated.env.windows": {"CMDER_ROOT": "F:\cmder"},
"terminal.integrated.shellArgs.windows": ["/k", "F:\cmder\vendor\init.bat"],
"terminal.integrated.fontFamily":"consolas",
"terminal.integrated.fontSize":20,
"workbench.statusBar.feedback.visible": false,
"workbench.iconTheme": "vscode-icons",
"javascript.updateImportsOnFileMove.enabled": "always",
"vetur.validation.template": false,
"editor.detectIndentation": false,
"liveServer.settings.donotShowInfoMsg": true,
"files.autoSave": "afterDelay",

// 设置背景图片
//background 的相关配置
"update.enableWindowsBackgroundUpdates": true,
"background.customImages": [
"file:///D:/mingren.jpg"//图片地址
],
"background.style": {
"content":"'Nothing is too difficult if you put your heart into it!'",
"pointer-events":"none",
"position":"absolute",//图片位置
"width":"100%",
"height":"100%",
"z-index":"99999",
"background.repeat":"no-repeat",
"background-size":"100%,100%",//图片大小
"opacity":0.1 //透明度
},
"background.useFront": true,
"background.useDefault": false,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.alwaysShowStatus": true,
"eslint.autoFixOnSave": true,
"eslint.codeAction.showDocumentation": {

"enable": true
},
"auto-close-tag.activationOnLanguage": [

"xml",
"php",
"blade",
"ejs",
"jinja",
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"plaintext",
"markdown",
"vue",
"liquid",
"erb",
"lang-cfml",
"cfml",
"HTML (EEx)",
"HTML (Eex)",
"plist"
],
"settingsSync.ignoredSettings": [

],
"workbench.editorAssociations": [

], //是否使用默认图片
}