Closed tomblachut closed 1 year ago
Typescript path alias / resolve does not work for me as well. It could also be a vite issue, but I'm not sure
Is addressing import errors on modules like $app/store
on the agenda as well? It makes using SvelteKit in IntelliJ kind of frustrating sometimes.
@miosenpai yes, sure. It's missing in checklist and I'll amend that.
@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
Private components are not visible for import – https://kit.svelte.dev/docs#routing-private-modules
I would expect <PrivateComponent />
to give me an auto import like import PrivateComponent from './_PrivateComponent'
@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 :(
SvelteKit went into public beta. This issue is meant to track improvements on intellij plugin side.
sveltekit:prefetch
,sveltekit:noscroll
,rel=external
– completions, do not highlight as not allowedload
functionhydrate
,prerender
,router
,ssr
variableshandle
,getSession
,serverFetch
)get
,del
, etc)create-svelte
.svelte
subdirectories as library roots or excludedstatic
directory – suppress inspection ~or contribute references~$app/*
pathsUpdate:
$app/*
is fixed in v0.21.0