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