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
after LanguageClient.restart(), editor does not pull diagnostics for new opened files #1730
I am the maintainer of the VS Code extension oxc.oxc-vscode.
After restarting the language server with LanguageClient.restart(), the editor does not request diagnostics for a new opened file.
Editing/Saving them does not change anything, the editor will never send textDocument/diagnostic request to the server. textDocument/didOpen|didChange|didSave are still send to the server.
Steps to reproduce
Install oxc.oxc-vscode extension from the marketplace
Run npm install oxlint in a project root
Restart the editor, so the extension finds the new oxlint binary
Open a TS/JS file and write debugger;
Open a second TS/JS file and write debugger;
Save both files
You should see one diagnostic for each file.
Close the second file, the diagnostic of that file should disappear.
Activity