Skip to content

Better autocompletion #291

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
4 tasks
Rich-Harris opened this issue Mar 22, 2023 · 1 comment
Open
4 tasks

Better autocompletion #291

Rich-Harris opened this issue Mar 22, 2023 · 1 comment

Comments

@Rich-Harris
Copy link
Member

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
Copy link
Member Author

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

dummdidumm pushed a commit that referenced this issue May 11, 2023
Fixes part of #291

- {#each}, {#if}, {#await}, {#key}
- @html, @debug, @const
- data-sveltekit- attributes
- on: directives
- bind: directives

autocompletion of import source has not yet been implemented.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant