Thank you for reaching out.
It happens because VS Code relies on a language server (the extension for your language) to analyze files and emit diagnostics; if the server isn’t active for the current workspace, validation is turned off in settings, the server fails to start due to an extension conflict or a bad update, the file is opened with the wrong language mode or outside a proper project folder, or cached workspace settings override validation, those diagnostics never arrive so no red squiggles appear.
Workaround:
• Open the actual project folder (File → Open Folder), not a single file, and ensure the file’s language mode is correct from the status bar.
• Disable nonessential extensions, reload VS Code, then re‑enable only the core language extension; add others back one by one to catch conflicts.
• In Settings, search “validation/diagnostics” and re‑enable language diagnostics (e.g., JavaScript/TypeScript validation, C/C++ error squiggles, Python/Pylance diagnostics).
• Open View → Output and select your language server’s log; if it shows startup errors, reload the window or reinstall the language extension.
• Remove workspace overrides by checking .vscode/settings.json; delete entries that disable validation, then reload the window.
Reference:
Language Server Extension Guide
Please let us know if you require any further assistance, we’re happy to help. If you found this information useful, kindly mark this as "Accept Answer". So that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.