You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(language-service): add language plugins for type checking external components
Add full type checking and IntelliSense support for components imported from Vue, Svelte, and Astro.
Changes:
- Add `resolveLanguagePlugins` function to load plugins from tsconfig.json
- Add framework shorthand support ("vue", "svelte", "astro") for easy configuration
- Add runtime validation for LanguagePlugin interface conformance
- Return structured errors for failed plugin imports or invalid exports
- Publish diagnostics to tsconfig.json when plugins fail to load
- Log errors to output channel for visibility
- Collect extra file extensions from loaded plugins for file watching
- Update typescript-plugin to use new API with error logging
- Add `languagePlugins` option to JSON schema for editor autocomplete
- Add documentation for all supported frameworks
- Add helpful error messages with install commands for missing dependencies
0 commit comments