-
Notifications
You must be signed in to change notification settings - Fork 138
Description
Add support for workspace-wide diagnostics in addition to showing diagnostics for open files only. Default to workspace-wide diagnostics, but with an option to switch to open file diagnostics.
Work items
- Initial support for workspace diagnostics using
workspace/diagnosticendpoint ([ty] Initial support for workspace diagnostics ruff#18939) - Fix VS Code not clearing diagnostics in non-workspace mode ([ty] Initial support for workspace diagnostics ruff#18939 > "Test Plan" > "VS Code") ([ty] Avoid stale diagnostics for open files diagnostic mode ruff#19273)
- Consider open virtual files (might requires Track open files in server #619) ([ty] Add virtual files to the only project database ruff#19322)
- Add support using publish diagnostics notification (low priority) 1
- Consider Jupyter Notebooks (low priority)
Footnotes
-
This is a low priority mainly because clients like VS Code, Zed and (soon) Neovim supports the
workspace/diagnostic(pull diagnostic) endpoint. ↩
Sub-issues
Metadata
Metadata
Assignees
Labels
serverRelated to the LSP serverRelated to the LSP server