tomblachut / svelte-intellij

Svelte components in WebStorm and friends
MIT License
485 stars 38 forks source link

Autocomplete doesn't work for non-svelte files. #275

Closed shaun-wild closed 2 years ago

shaun-wild commented 2 years ago

I'm not exactly sure what causes autocomplete not to work, but I'm guessing it's because of references to .ts files instead of .svelte files.

You would expect all of the props mentioned in Table.d.ts file to show on the autocomplete menu.

It should also take into account the extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap['table'] which means we get all of the lovely table html autocompletions

image

image

tomblachut commented 2 years ago

Duplicate of #206, and probably some others