learn.svelte.dev icon indicating copy to clipboard operation
learn.svelte.dev copied to clipboard

Better autocompletion

Open Rich-Harris opened this issue 1 year ago • 1 comments

We don't have the full power of the TypeScript language server, but we can probably offer some useful autocompletions:

  • [ ] import sources
  • [ ] {#each, etc
  • [ ] data-sveltekit- attributes
  • [ ] on: directives

Rich-Harris avatar Mar 22 '23 14:03 Rich-Harris

In fact even without the language server we could still probably provide autocompletions for things like array methods if they were declared in scope...

Rich-Harris avatar Mar 22 '23 15:03 Rich-Harris