新版本可以登录github账户备份设置。以下为老板本个人配置备份。
安装插件:
- atom one dark theme
- atom one light theme
- Chinese
- css formatter
- document this
- ESLint
- live server
- open in browser
- prettier -Code formatter
- vetur
- vue 2 Snippets
安装字体:
Fira Code
编辑器配置文件
{
"javascript.format.semicolons": "remove",
"typescript.format.semicolons": "remove",
"prettier.semi": false,
"prettier.singleQuote": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.detectIndentation": false,
"editor.tabSize": 2,
"eslint.autoFixOnSave": true,
"eslint.validate": [
"javascript",
"javascriptreact",
{
"language": "vue",
"autoFix": true,
"prettier.semi": false,
"prettier.singleQuote": true,
}
],
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatter.js": "vscode-typescript",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "force-aligned"
},
"prettier": {
"semi": false,
"singleQuote": true
}
},
"editor.fontFamily": "'Fira Code',Consolas, 'Courier New', monospace",
"editor.fontSize": 16,
"editor.lineHeight": 32,
"workbench.colorTheme": "Atom One Dark"
}