tomblachut / svelte-intellij

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

SvelteKit #209

Closed tomblachut closed 1 year ago

tomblachut commented 3 years ago

SvelteKit went into public beta. This issue is meant to track improvements on intellij plugin side.

Update:

wiesson commented 3 years ago

Typescript path alias / resolve does not work for me as well. It could also be a vite issue, but I'm not sure

miosenpai commented 3 years ago

Is addressing import errors on modules like $app/store on the agenda as well? It makes using SvelteKit in IntelliJ kind of frustrating sometimes. image

tomblachut commented 3 years ago

@miosenpai yes, sure. It's missing in checklist and I'll amend that.

tomblachut commented 3 years ago

@miosenpai Workaround is to copy ambient-modules.d.ts (you can find it with Shift+Shift popup) and paste it into src/global.d.ts

jjrgen commented 3 years ago

Private components are not visible for import – https://kit.svelte.dev/docs#routing-private-modules

image image

I would expect <PrivateComponent /> to give me an auto import like import PrivateComponent from './_PrivateComponent'

flymedllva commented 1 year ago

@tomblachut, hi!

Are there any plans to develop the plugin? In the current version to use it with SvelteKit, very difficult, almost nothing is indexed and it seems the only option is to use VSCode :(

tomblachut commented 1 year ago

There was lots of changes to SvelteKit since the list was written, most things work in 2023.2 thanks to WEB-58397 use the svelte language server.

missing bits:

Please open any additional issues on YouTrack, thanks!