| Fix Action | Primary Benefit | Difficulty |
|---|---|---|
| Exclude Folders | Reduces CPU usage during file indexing | Easy |
| Extension Bisect | Identifies buggy or heavy plugins | Medium |
| Increase RAM Limit | Prevents crashes on large TS/JS projects | Medium |
| Clear Cache | Wipes corrupted temporary data | Easy |

What is VS Code Slow IntelliSense?
Slow IntelliSense refers to a significant delay between typing code and the appearance of the auto-completion suggestion box. In a healthy environment, this should be near-instant.
When VS Code performance degrades, you might see “Loading…” in the suggestion box for several seconds. This usually happens because the language server is overwhelmed by large files or complex workspace indexing.
Step-by-Step Solutions to Fix Slow IntelliSense
1. Exclude Large Folders from Indexing
VS Code often slows down because it tries to index every file in your project, including dependencies. You should manually exclude heavy directories like node_modules.
Open your settings.json and add the following configuration:
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/*/**": true,
"**/dist/**": true
}
2. Run Extension Bisect
Third-party extensions are the most common cause of IntelliSense lag. VS Code has a built-in tool called “Extension Bisect” to find the culprit.
Press Ctrl+Shift+P (or Cmd+Shift+P on Mac) and type “Help: Start Extension Bisect”. Follow the prompts to disable half of your extensions until the laggy one is identified.
3. Increase Memory for TypeScript/JavaScript
If you are working in a large TypeScript project, the language server might run out of memory. You can increase the memory limit by adjusting the max-old-space-size.
Open your Command Palette and search for “Preferences: Open User Settings (JSON)”. Add this line:
"typescript.tsserver.maxTsServerMemory": 4096
4. Clear the Global Storage and Cache
Sometimes the internal cache for VS Code becomes corrupted. Clearing the global storage can refresh the IntelliSense engine.
Close VS Code and run the following command in your terminal (Linux/Mac) to navigate to the cache folder:
rm -rf ~/Library/Application\ Support/Code/Cache/*
rm -rf ~/Library/Application\ Support/Code/CachedData/*
For Windows users, navigate to %AppData%\Code\Cache and delete the contents manually.
5. Disable “Follow Symlinks”
If your project uses many symbolic links, VS Code might get stuck in an infinite indexing loop. Disabling this can provide an immediate speed boost.
Search for “Follow Symlinks” in your settings and uncheck the box for Search: Follow Symlinks.