You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

60 lines
1.9 KiB

  1. {
  2. /** 便
  3. * ESLint
  4. * Prettier - Code formatter
  5. * stylelint
  6. * vscode-icons
  7. * i18n Ally
  8. * Iconify IntelliSense
  9. * TypeScript Vue Plugin (Volar)
  10. * Vue Language Features (Volar)
  11. */
  12. "terminal.integrated.rendererType": "dom",
  13. "editor.formatOnType": true,
  14. "editor.formatOnSave": true,
  15. "javascript.updateImportsOnFileMove.enabled": "always",
  16. "[vue]": {
  17. "editor.defaultFormatter": "esbenp.prettier-vscode"
  18. },
  19. "[javascript]": {
  20. "editor.defaultFormatter": "vscode.typescript-language-features"
  21. },
  22. "editor.tabSize": 2,
  23. "editor.formatOnPaste": true,
  24. "files.autoSave": "afterDelay",
  25. "git.confirmSync": false,
  26. "workbench.startupEditor": "newUntitledFile",
  27. "editor.suggestSelection": "first",
  28. "editor.acceptSuggestionOnCommitCharacter": false,
  29. "css.lint.propertyIgnoredDueToDisplay": "ignore",
  30. // Prevent inline styles from being automatically formatted to all lowercase
  31. "editor.quickSuggestions": {
  32. "other": true,
  33. "comments": true,
  34. "strings": true
  35. },
  36. // Automatically fix some syntax errors of ts
  37. "tslint.autoFixOnSave": true,
  38. "files.associations": {
  39. // Specifies the location of snippets in the suggestion widget
  40. "editor.snippetSuggestions": "top"
  41. },
  42. "[css]": {
  43. "editor.defaultFormatter": "esbenp.prettier-vscode"
  44. },
  45. "cSpell.userWords": ["sourcemap", "vite"],
  46. "editor.codeActionsOnSave": {
  47. "source.fixAll.eslint": true
  48. },
  49. "volar.tsPlugin": true,
  50. "typescript.tsdk": "node_modules/typescript/lib",
  51. "i18n-ally.localesPaths": ["src/plugins/i18n"],
  52. "i18n-ally.keystyle": "nested",
  53. "i18n-ally.sortKeys": true,
  54. "i18n-ally.namespace": true,
  55. "i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}",
  56. "i18n-ally.enabledParsers": ["ts"],
  57. "i18n-ally.sourceLanguage": "en",
  58. "i18n-ally.displayLanguage": "zh-CN",
  59. "i18n-ally.enabledFrameworks": ["vue", "react"]
  60. }