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.

56 lines
1.7 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. "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. "files.associations": {
  37. // Specifies the location of snippets in the suggestion widget
  38. "editor.snippetSuggestions": "top"
  39. },
  40. "[css]": {
  41. "editor.defaultFormatter": "esbenp.prettier-vscode"
  42. },
  43. "editor.codeActionsOnSave": {
  44. "source.fixAll.eslint": true
  45. },
  46. "typescript.tsdk": "node_modules/typescript/lib",
  47. "i18n-ally.localesPaths": ["src/plugins/i18n"],
  48. "i18n-ally.keystyle": "nested",
  49. "i18n-ally.sortKeys": true,
  50. "i18n-ally.namespace": true,
  51. "i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}",
  52. "i18n-ally.enabledParsers": ["ts"],
  53. "i18n-ally.sourceLanguage": "en",
  54. "i18n-ally.displayLanguage": "zh-CN",
  55. "i18n-ally.enabledFrameworks": ["vue", "react"]
  56. }