question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 allowed
  • load function
    • mark as implicitly used
    • completions
    • (?) suggest and validate prop types defined on component and returned from load function
  • hydrate, prerender, router, ssr variables
    • mark as implicitly used
    • completions
  • hooks – mark as implicitly used (handle, getSession, serverFetch)
  • api functions – mark as implicitly used (get, del, etc)
  • project generator based on create-svelte
  • mark .svelte subdirectories as library roots or excluded
  • file references to static directory – suppress inspection ~or contribute references~
  • Events on window
  • Correct highlighting of $app/* paths

Update:

  • some improvements are available in v0.20.0
  • $app/* is fixed in v0.21.0

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:23
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
wiessoncommented, Apr 12, 2021

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

3reactions
tomblachutcommented, Jul 15, 2021

@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

Read more comments on GitHub >

github_iconTop Results From Across the Web

SvelteKit • Web development, streamlined
SvelteKit is built on Svelte, a UI framework that uses a compiler to let you write breathtakingly concise components that do minimal work...
Read more >
Announcing SvelteKit 1.0
SvelteKit is a framework for building web applications on top of Svelte, a UI component framework that developers love for its performance and ......
Read more >
sveltejs/kit: web development, streamlined - GitHub
See CONTRIBUTING.md for information on how to develop SvelteKit locally. Supporting Svelte. Svelte is an MIT-licensed open source project with its ongoing ...
Read more >
@sveltejs/kit - npm
The fastest way to build Svelte apps. This is the SvelteKit framework and CLI. The quickest way to get started is via the...
Read more >
SvelteKit | Jamstack
SvelteKit is a framework for building web applications of all sizes, with a beautiful development experience and flexible filesystem-based routing.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found