Super slow LSP with Deno + VSCode
We experience a really degraded DX in our IDE (VSCode) since we migrated to Deno 2.1.2.
We have a Deno workspace with some backend services and a React SPA built with Vite.
- Slow start (lots of "Loading...")
- Blinking stuff (colors change, underlines, inferred types...)
- Slow (lots of "Loading...") when we open a file for the first time.
- Slow when we type stuff (see video below).
5 Replies
Here is a live example comparing Deno vs TSC.
We had to roll back to using tsc in our IDE.
A simple reproduction scenario is to run
deno run -RWE npm:create-vite-extra@latest
and open the project in VSC, it's already pretty slow with it. 😢I have also run into this. Cant find any information on how to solve this. Surprised this topic isnt talked about more.
FWIW, there are reports of LSP performance fixes in the latest deno release (v2.1.8). See if that improves things for you?
https://www.reddit.com/r/Deno/comments/1idwroh/deno_218_is_out/
Reddit
From the Deno community on Reddit: Deno 2.1.8 is out
Explore this post and more from the Deno community