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.

49 lines
1.5 KiB

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