Almaju
Almaju•3w ago

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
Almaju
AlmajuOP•3w ago
Here is the dump of my LSP status (I removed the local files of our project in the "Documents in memory" part).
Almaju
AlmajuOP•3w ago
Here is a live example comparing Deno vs TSC.
Almaju
AlmajuOP•3w ago
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. 😢
Kasper
Kasper•2w ago
I have also run into this. Cant find any information on how to solve this. Surprised this topic isnt talked about more.
CodyC
CodyC•6d ago
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

Did you find this page helpful?