You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support for workspace/diagnostic from LSP 3.17 #63784
Tracking issue for support on the LSP workspace/diagnostics request. Getting this working would be a major win over typescript-language-server and vtsls to get project wide diagnostics in editors where all issues are detected before each individual file is open the current reliance on didOpen makes editor workspace diagnostics less reliable.
Reacted by Ajay Mamtora, arexon, Gabriel, Eli, Chris Olszewski, Bas van den Wollenberg, Cymaera, Jiby Jose, Aria, Lukas Lieb and 3 more
I think this is something we want to do as a proper replacement to the (long experimental) typescript.tsserver.experimental.enableProjectDiagnostics setting, yes. It's certainly good that this is built-into the LSP as a request-based system, as opposed to us having to do this via push diagnostics (which we do not support outside providing diagnostics in tsconfig files).
Reacted by versecafe, Ajay Mamtora, Jiby Jose, arexon, Eli, Okan YILDIRIM, Bas van den Wollenberg, rphf, Victor, Aria and 2 more
I talked to Dirk about this and it turns out that this API is supposed to be used like old-school HTTP "long polling", which explains why the VS Code client just has a 2 second loop or something constantly asking for all diags. I don't really know how we'd test it, or what other constraints we want to put on it.
Activity
jakebailey commentedon Dec 1, 2025
I think this is something we want to do as a proper replacement to the (long experimental)
typescript.tsserver.experimental.enableProjectDiagnosticssetting, yes. It's certainly good that this is built-into the LSP as a request-based system, as opposed to us having to do this via push diagnostics (which we do not support outside providing diagnostics in tsconfig files).jakebailey commentedon Aug 28, 2026
I talked to Dirk about this and it turns out that this API is supposed to be used like old-school HTTP "long polling", which explains why the VS Code client just has a 2 second loop or something constantly asking for all diags. I don't really know how we'd test it, or what other constraints we want to put on it.