settings.json 755 B

123456789101112131415161718192021
  1. {
  2. // Use workspace TypeScript (better match project compiler behavior)
  3. "typescript.tsdk": "node_modules/typescript/lib",
  4. "typescript.enablePromptUseWorkspaceTsdk": true,
  5. // Vue (Volar) configuration for best IntelliSense and take-over mode
  6. "vetur.validation.template": false,
  7. "volar.takeOverMode.enabled": true,
  8. "volar.useWorkspaceTsdk": true,
  9. // General editor completion settings
  10. "editor.quickSuggestions": { "other": true, "comments": false, "strings": true },
  11. "editor.suggestOnTriggerCharacters": true,
  12. "editor.tabCompletion": "on",
  13. // Ensure Vue files are treated as Vue
  14. "files.associations": { "*.vue": "vue" },
  15. // Prevent built-in JS/TS validation from conflicting with Volar
  16. "javascript.validate.enable": false
  17. }