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.

61 lines
1.9 KiB

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