How to Fix VS Code IntelliSense Lag and Slow Autocomplete
Laggy IntelliSense in VS Code can hurt productivity, and Kudu can help uncover extension, indexing, or resource issues.
By the Kudu Team
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →What Causes This?
VS Code IntelliSense usually lags when something is slowing down code analysis in the background. Common causes include too many extensions running at once, a language server stuck indexing a large project, high CPU or RAM usage, or folders like node_modules, dist, or build caches being scanned unnecessarily. On Windows, antivirus scanning and low disk performance can also make autocomplete feel delayed.
Common Symptoms
- Autocomplete suggestions take several seconds to appear
- VS Code freezes briefly while typing
- CPU or memory usage spikes when opening a project
- “Loading…” or indexing messages stay visible for too long
- IntelliSense works fine in small projects but slows down in larger ones
How to Fix It Manually
-
Check whether VS Code is using too many system resources
- Open Task Manager with Ctrl+Shift+Esc.
- On the Processes tab, look for Visual Studio Code and check its CPU, Memory, and Disk usage.
- If usage stays high, close other heavy apps like browsers, game launchers, or virtual machines and test VS Code again.
-
Find extension-related slowdowns
- In VS Code, press Ctrl+Shift+P to open the Command Palette.
- Type Developer: Show Running Extensions and press Enter.
- Look for extensions with high startup time or activity.
- Disable anything non-essential:
- Open the Extensions view with Ctrl+Shift+X
- Select a suspicious extension
- Click the gear icon, then choose Disable
- Restart VS Code and check if IntelliSense improves.
-
Start VS Code without extensions to test the cause
- Close VS Code.
- Press Windows key, type cmd, and open Command Prompt.
- Run:
code --disable-extensions - Open the same project and test autocomplete.
- If IntelliSense becomes fast, one or more extensions are the problem. Re-enable them one at a time until you find the culprit.
-
Exclude large folders from file watching and search
- In VS Code, press Ctrl+, to open Settings.
- Search for files exclude and watcher exclude.
- Add common heavy folders such as:
"**/node_modules": true, "**/dist": true, "**/build": true, "**/.git": true - This reduces unnecessary scanning and indexing in large projects.
-
Clear workspace and language server issues
- Press Ctrl+Shift+P and run Developer: Reload Window.
- If you use TypeScript or JavaScript, run TypeScript: Restart TS Server from the Command Palette.
- For Python, C#, or other languages, look for a similar restart language server command.
- If the project is very large, try opening only the specific folder you need instead of the entire repository.
-
Check Windows security and storage performance
- Open Windows Security from the Start menu.
- Go to Virus & threat protection > Manage settings > Exclusions.
- If appropriate for your setup, add your development project folder as an exclusion to reduce constant scanning.
- Also check free disk space in File Explorer > This PC. If your system drive is nearly full, IntelliSense and indexing can slow down significantly.
-
Update VS Code and your language tools
- In VS Code, go to Help > Check for Updates.
- Update key extensions like Python, C#, or ESLint.
- Outdated language servers often cause slow autocomplete and background errors.
Fix It Automatically with Kudu
Kudu can scan your PC for the issues that commonly cause VS Code IntelliSense lag, including heavy startup apps, resource bottlenecks, disk slowdowns, and unnecessary background activity. It gives you a faster way to spot what is dragging down autocomplete without manually digging through Task Manager, extensions, and Windows settings.
Fix this automatically with Kudu
Run a free system scan to detect and resolve this issue automatically — no manual steps required.
Download Kudu Free →Related guides
How to Fix VS Code Slow to Start on Windows
VS Code launching slowly can be caused by extensions, workspace indexing, or profile issues, and Kudu can help reveal them.
How to Fix VS Code Terminal Slow or Lagging on Windows
A sluggish integrated terminal in VS Code may come from shell or rendering issues, and Kudu can help troubleshoot it.
How to Fix Adobe Acrobat Slow to Open PDFs on Windows
Adobe Acrobat opening PDFs slowly can be caused by add-ons, previews, or cache issues, and Kudu can help investigate.
How to Fix Discord Screen Share Black Screen or Lag
Black screen or lag during Discord screen sharing can point to GPU or capture problems, and Kudu can help troubleshoot.