[Bug] LSP diagnostics missing file path context for files with duplicate names
Status Open
Reported on v2.1.217
Maintainer reply None cached
Activity 0 comments · opened Jul 22, 2026
Bug Description
The Claude Code LSP integration, when pushing diagnostics to the agent, appears to specify only the base filename instead of the file path (e.g. relative to the cwd). This makes it difficult when the agent edits multiple files at once, triggers the LSP, and receives diagnostics across multiple files with the same name. In my case, there are multiple files named "main.nf" but in different directories, so the agent can't tell which "main.nf" is referred to for a given diagnostic
Environment Info
- Platform: linux
- Terminal: zed
- Version: 2.1.217
- Feedback ID: e4a02894-978d-47ad-9574-250d6b00f6a3
Errors
[]