您现在的位置是:首页 >技术教程 >我的vscode的settings.json配置网站首页技术教程
我的vscode的settings.json配置
{
"git.defaultCloneDirectory": "",
"svn.path": "D:\SVN\bin\svn.exe",
"git.path": "D:\Git\cmd",
"typescript.tsserver.watchOptions": {},
"editor.formatOnType": true,
"editor.formatOnPaste": true,
"editor.formatOnSave": false,
"editor.fontLigatures": false,
//配置保存时按照eslint文件的规则来处理一下代码editor.formatOnSave需设为false
"editor.codeActionsOnSave": {
"source.fixAll": true,
"eslint.autoFixOnSave": true
},
"html.format.contentUnformatted": "",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier.endOfLine": "auto",
"[vue]": {
"editor.defaultFormatter": "Vue.volar"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"settingsSync.ignoredExtensions": []
}