VScodeSettings.txt 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "files.autoSave": "afterDelay",
  3. "files.autoSaveDelay": 5000,
  4. "http.proxyAuthorization": null,
  5. "guides.enabled": false,
  6. "editor.minimap.enabled": true, //显示缩略图
  7. "explorer.confirmDelete": false, //文件删除时弹框确认
  8. "vsicons.dontShowNewVersionMessage": true, //新版本提示
  9. "editor.detectIndentation": false, //禁用beauty插件的缩进属性
  10. "editor.tabSize": 2, //制表符空格数
  11. "editor.formatOnSave": true, //保存时格式化文件
  12. "editor.wordWrap": "on", //换行方式
  13. "vetur.format.defaultFormatterOptions": {
  14. "prettier": {
  15. "semi": false, // 使用单引号
  16. "singleQuote": true // 行末不使用分号
  17. }
  18. },
  19. //保存时根据根目录下.eslintrc.js配置的eslint规则来检查和做一些简单的fix
  20. "files.autoSave": "off",
  21. "eslint.validate": [
  22. "javascript",
  23. "javascriptreact",
  24. "html",
  25. {
  26. "language": "vue",
  27. "autoFix": true
  28. }
  29. ],
  30. "eslint.options": {
  31. "plugins": [
  32. "html"
  33. ]
  34. },
  35. "workbench.startupEditor": "newUntitledFile",
  36. "workbench.iconTheme": "vscode-icons",
  37. "auto-rename-tag.activationOnLanguage": [
  38. "*"
  39. ]
  40. }