N
Nuxtβ€’4mo ago
Fabian B.

VSCode Typechecking very slow: Takes up to 20s

Hi there! I noticed that in a larger Nuxt project (using layers with pnpm monorepo packages), the type checking became very slow. I notice this when I for example hover over a config object in nuxt.config.ts. It takes up to 20s to load that type definition. For that time, VSCode displays loading. Same for dependencies in TS files. If I write a function and add a dependency, it takes up to 20s to get the error of missing dependency to go away. It's hard to reproduce because it only appears on larger projects. I noticed that once the type definition is loaded, hovering it then is displaying it instantly. Does anybody have the same issue? And any tips on how to debug intellisense performance, and if it's a Nuxt or Volar issue? Thanks πŸ™‚
1 Reply
Fabian B.
Fabian B.OPβ€’4mo ago
Found the issue – I upgraded drizzle and it decreased the type performance. After downgrading it, it works.
Want results from more Discord servers?
Add your server