svelte-type-checker-vscode Svelte Themes

Svelte Type Checker Vscode

VSCode integration for svelte-type-checker

Warning

This is now archived, You probably want https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode most of the code in this repo has been incorporated into the official svelte plugin (https://github.com/sveltejs/language-tools/tree/master/packages/svelte-vscode)

Svelte Type Checker - DEPRECATED

Provides deep type checking for Svelte files by leaning on the Typescript language service.

Requires a Svelte language mode plugin such as Svelte Beta

For best results, disable the typescript complete, hover, and definition features of the Svelte plugin and enable all the settings of this plugin.

Features provided

  • Type checks regular JS as well as Typescript
  • Type checking of component template (including prop types and slots)
  • Autocomplete for component props
  • Go to definition for components and props
  • Hover information for template attributes

Examples

Property Type Checking

Property Auto Complete

Slot Parameter Checking

Slot Parameter Info

Await Type Checking/Info

Store Type Checking/Info

Animation Parameter Checking/Info

Top categories

Loading Svelte Themes