Disabling this made it lightning quick.

Try this to see if it is a particular extension.

  • Open Command Palette (Ctrl+Shift+P)
  • Type in "Disable all installed extensions"
  • Enable them one by one or in groups and test the IntelliSense speed
Answer from Anush Bhatia on Stack Overflow
🌐
GitHub
github.com › microsoft › vscode › issues › 82846
Extremely Slow Typescript VSCode Intellisense · Issue #82846 · microsoft/vscode
October 18, 2019 - As per the image above, I have a serious problem with my VSCode intellisense. When I go to inspect a code, it keeps charging for 13 minutes. When the process is over, and I will inspect the implementation of another Javascript code, it goes back to the same process. The annoying thing is that this has only happened with the Javascript language. I do this in Java or Dart, for example ... and it doesn't happen. It only happens with the Typescript / Javascript language.
Author   thiagosantoscunha
🌐
GitHub
github.com › t3-oss › create-t3-turbo › issues › 924
Slow Typescript VSCode Intellisense · Issue #924 · t3-oss/create-t3-turbo
March 21, 2024 - Other dependecies like Stripe and Firebase might cause the slowdon · Should I split the trpc routers in smaller packages ? Typescript Intellisense is very slow in my project. The project was boostrapped from this template. It currently has 17 trpc routers with logic from drizzle, zod, stripe and firebase.
Author   andrewdoro
🌐
Reddit
reddit.com › r/vscode › very slow intellisense in vscode when 'node_modules' is present
r/vscode on Reddit: Very slow intellisense in vscode when 'node_modules' is present
September 1, 2022 -

As in this post I'm facing similar problem. Vscode intellisense is very slow in Nextjs with TypeScript I tried all the solution like :

  • Disabling all the extensions

  • Switch to vscode insiders build with no extensions installed

nothing seemed to work but deleting node_modules folder makes my intellisense lightning fast.

And this problem seemed to be only for a particular project not in any other project, so maybe I messed up with my config.

My tsconfig.json and package.json is available in this stackoverflow post.

Please help me out.

Update :

The problem is only in .ts or .tsx files.

🌐
GitHub
github.com › microsoft › vscode › issues › 156373
Extremely slow Typescript intellisense and error checking in some files · Issue #156373 · microsoft/vscode
July 26, 2022 - Does this issue occur when all extensions are disabled?: Yes VS Code Version: 1.69.2 OS Version: Windows 10 Steps to Reproduce: Edit a typescript file Whenever I edit "medium" (about 300 lines) files i get unbearably slow intellisense an...
Author   Tesohh
🌐
GitHub
github.com › microsoft › vscode › issues › 83474
Extensive CPU usage / Slow TypeScript Intellisense · Issue #83474 · microsoft/vscode
October 31, 2019 - Description: VS Code Intellisense takes extremely longer to suggest keywords while typing in a TypeScript project. VSCode Versions: 1.39.2 1.40.0-insider OS: macOS Mojave 10.14.6 (18G95) Version: 1...
Author   panchalkalpesh
🌐
DEV Community
dev.to › onticdani › fixing-most-typescript-intellisense-issues-in-vs-code-nc6
Fixing Most TypeScript Intellisense issues in VS Code - DEV Community
May 13, 2024 - Reload VSCode (close it and reopen it) for it to take full effect and for it to reprocess all open tabs. This is usually how I fix the issue. ... Use Workspace Version doesn't even show as an option...
Find elsewhere
🌐
GitHub
github.com › microsoft › TypeScript › issues › 52867
Extremely slow Intellisense · Issue #52867 · microsoft/TypeScript
February 18, 2023 - Type: Bug Intellisense is extremely slow on one of my projects. Number of files wise, it is the smallest. The only two things that are "different" with this project is that I use bun inst...
Author   sroussey
🌐
GitHub
github.com › microsoft › TypeScript › issues › 43318
Slow Typescript Intellisense in big project · Issue #43318 · microsoft/TypeScript
March 19, 2021 - Issue Type: Performance Issue I have a big project/workspace (8 folders each with a different program) and when I use intellisense it takes about 3 seconds to load. I have added node_modules and my builds to vscode ignore. VS Code versio...
Author   samchouse
🌐
RedwoodJS Community
community.redwoodjs.com › get involved › debugging & dev problem solving
Typescript Performance - Strict Mode - Debugging & Dev Problem Solving - RedwoodJS Community
February 23, 2023 - Hi, just want to leave this here ... in VSCode. (did not find comparable posts yet). Our codebase was pretty slow, with intellisense taking sometimes few seconds. Using zod and having some bigger schema validation, we were checking, if zod was the issue. But the solution to faster typescript autocomplete ...
🌐
Developer Community
developercommunity.visualstudio.com › t › typescript-background-compilation-is-very-slow-som › 194187
Typescript background compilation is very slow, sometimes ...
Skip to main content · Visual Studio · Guidelines Problems Suggestions Code of Conduct · Downloads · Visual Studio IDE Visual Studio Code Azure DevOps Team Foundation Server Accounts and Subscriptions · Subscriber Access · Microsoft Security Azure Dynamics 365 Microsoft 365 Microsoft ...
🌐
Reddit
reddit.com › r/vscode › typescript intellisense painfully slow
r/vscode on Reddit: Typescript intellisense painfully slow
October 25, 2024 -

It takes a long time to load any hints when working with typescript in a project. I've tried disabling all extensions. When i reload the window, for a few seconds, it actually works, as soon as i type i get completion hints. At one moment, it stops, and it takes something like 20 seconds for the hint window to popup.

I am looking at the ts server log:

Info 603  [21:38:54.316] Starting updateGraphWorker: Project: d:/projects/uv-editor/tsconfig.json
Info 604  [21:38:54.331] Finishing updateGraphWorker: Project: d:/projects/uv-editor/tsconfig.json projectStateVersion: 8 projectProgramVersion: 1 structureChanged: false structureIsReused:: Completely Elapsed: 14.592599999999948ms
Info 605  [21:38:54.331] Different program with same set of files
Perf 606  [21:38:54.339] 72::encodedSemanticClassifications-full: elapsed time (in milliseconds) 22.8079

This is my tsconfig:

{
  "compilerOptions": {
    "target": "ES2020",
    "useDefineForClassFields": true,
    // "lib": ["ES2020", "DOM", "DOM.Iterable"],
    "lib": [
      "ES2020",
      "DOM"
    ],
    "module": "ESNext",
    "skipLibCheck": true,
    /* Bundler mode */
    "moduleResolution": "bundler",
    "allowImportingTsExtensions": true,
    // "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "jsx": "react-jsx",
    /* Linting */
    "strict": true,
    // "noUnusedLocals": true,
    // "noUnusedParameters": true,
    "noFallthroughCasesInSwitch": true,
    // "typeRoots": ["node_modules/@types"],
    //from instaliing shacdn
    // "baseUrl": ".",
    // "paths": {
    //   "@/*": [
    //     "./src/*"
    //   ]
    // }
  },
  "include": [
    "src/**/*.ts",
    "src/**/*.tsx"
  ],
  "exclude": [
    "node_modules",
    "dist"
  ],
  // "references": [
  //   {
  //     "path": "./tsconfig.node.json"
  //   }
  // ]
}
🌐
GitConnected
levelup.gitconnected.com › speed-up-your-typescript-vscode-workflow-in-1-minute-2e3c505e008b
Speed Up TypeScript in VSCode in 1 Minute 🚀 | by Dmitry Borody | Level Up Coding
September 11, 2020 - This quickly gets frustrating, slowing down your feedback loops (and fast feedback loops are great to keep you happy and motivated!). Here’s the trick: Run a separate TypeScript process in watch mode in a terminal tab. Keep it running as you write code — it’ll respond to changes and highlight ...
🌐
Reddit
reddit.com › r/vscode › extremely slow intellisense menu? no extensions loaded whatsoever.
r/vscode on Reddit: Extremely slow intellisense menu? No extensions loaded whatsoever.
April 21, 2019 -

Not sure how to even figure out what the problem is. I disabled all of my extensions, but the intellisense menu doesn't show up for a good 5-10 seconds. It's infuriating.

The even weirder part is that if I open Help -> Interactive Playground and try the snippet completion there, that fixes it temporarily (for like the next 5-6 snippet requests). It's like there's a buffer somewhere that gets bogged down by snippet requests and then it's reset when I do that.0

I have no idea how to fix this, but it's infuriating.

Edit: I'll keep in touch if this is the solution, but as u/dna30 said, I've changed which typescript version I'm using following this stackoverflow page

🌐
Reddit
reddit.com › r/reactjs › is anyone else’s typescript intellisense on vs code really slow?
Is anyone else’s Typescript Intellisense on VS Code really slow? : r/reactjs
September 14, 2020 - I saw one mentioning styled components but not all of mine use those and it's just as slow. ... I have the issue when I install a new library or module through npm. The intellisense just gets stuck. Restarting VScode solves the issue though. ... Try using WebStorm. Works great with TypeScript, and has more / better features than VS Code (in my opinion)
🌐
Answer Overflow
answeroverflow.com › m › 1163768194096451654
Slow Intellisense using VSCode on large Typescript Project - Xata
October 17, 2023 - This is really slowing down my productivity. I already tried disabling Extensions, which made it a little better, but Intellisense is still pretty slow. I already looked into Stackoverflow and other resources, trying to mitigate potential Typescript/VSCode issues. I'm pretty lost.