Error squiggles in Visual Studio Code help developers identify syntax errors, warnings, missing imports, type mismatches, and other coding issues in real time. These colored underlines are powered by language servers, extensions, linters, and IntelliSense features.
However, some users notice that error squiggles suddenly stop appearing in VS Code, even though the code contains obvious mistakes. This can make debugging difficult and reduce productivity significantly.
The issue is usually caused by disabled validation settings, broken extensions, language server problems, corrupted workspace settings, or extension conflicts. In this guide, we’ll walk you through effective methods to fix error squiggles not showing in VS Code on Windows 11.
How to Fix Error Squiggles Not Showing in VS Code
Before applying the fixes below, restart Visual Studio Code once and reopen the affected project. Then follow the methods below in order.
1. Verify the Correct Language Mode
VS Code may not detect the correct programming language.
- Open the affected file in Visual Studio Code.
- Check the language mode in the bottom-right corner.
- If incorrect, click it and select the proper language manually.
Without the correct language mode, syntax validation may not work.
2. Enable Error Validation Settings
Validation may be disabled in VS Code settings.
- Press Ctrl + Shift + P.
- Search for:
Preferences: Open Settings (JSON) - Verify that language validation is enabled.
For example, for JavaScript and TypeScript:
"javascript.validate.enable": true,
"typescript.validate.enable": true
This restores built-in error checking.
3. Restart the Language Server
Language servers are responsible for diagnostics and squiggles.
- Press Ctrl + Shift + P.
- Run commands such as:
TypeScript: Restart TS ServerPython: Restart Language Server- Relevant restart command for your language extension
This refreshes IntelliSense and diagnostics.
4. Check Installed Extensions
Missing or broken extensions can disable error highlighting.
- Open the Extensions panel (
Ctrl + Shift + X). - Verify the required language extension is installed.
Common examples include:
- Python Extension for Visual Studio Code
- ESLint
- Pylance
Update or reinstall the extension if necessary.
5. Enable Problems Panel Diagnostics
The Problems system may be disabled or malfunctioning.
- Press:
Ctrl + Shift + M - Check whether errors appear in the Problems panel.
If errors appear there but not in the editor, the issue is usually visual or theme-related.
6. Disable Conflicting Extensions
Some extensions interfere with diagnostics.
- Disable recently installed extensions temporarily.
- Restart VS Code.
- Check whether squiggles return.
Theme packs, AI tools, or formatter extensions sometimes cause conflicts.
7. Check Workspace Settings
Project-level settings may override global diagnostics.
- Open the workspace
.vscode/settings.jsonfile. - Look for settings disabling validation or linting.
- Remove conflicting entries if necessary.
Workspace settings can override global behavior.
8. Re-enable Linting Tools
If you use linters, ensure they are active.
For example, for ESLint:
- Open Settings.
- Search for:
eslint.enable - Ensure it is enabled.
Also verify required dependencies are installed in the project.
9. Reset VS Code Settings
Corrupted settings can break diagnostics.
- Press Ctrl + Shift + P.
- Open:
Preferences: Open Settings (JSON) - Backup and reset suspicious settings.
You can also temporarily rename the VS Code user settings folder to test defaults.
10. Reinstall VS Code
If nothing works, reinstalling VS Code may help.
- Uninstall Visual Studio Code.
- Delete leftover configuration folders if needed.
- Download the latest version from the official website.
- Reinstall the editor and extensions.
A clean installation often resolves persistent editor issues.
Conclusion
Error squiggles not showing in Visual Studio Code is usually caused by disabled validation settings, broken language servers, or extension conflicts. By following the methods outlined in this guide, you can restore real-time error highlighting and diagnostics.
From restarting language servers to checking extensions and resetting settings, these solutions cover both simple and advanced troubleshooting methods. Once fixed, VS Code should display syntax and code errors normally again.