2 people reported

All time, since Oct 8.

Missing didSave on first edit

“When Edit changes a file that the LSP server doesn't have open yet, Claude Code sends only textDocument/didOpen, carrying the already-edited text.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/claude-code/issues/7501/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

First edit of a file sends didOpen without didSave. On Edit or Write of a file the language server hasn't opened, only didOpen is sent, while later edits send didChange plus didSave.

Is this your bug?

File my report
Where
LSP integration
Versions
2.1.294 to 2.1.308
Platforms
macOS
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. LSP: first Edit to a file the server hasn't opened sends only didOpen (no didSave), so servers that reindex on save keep a stale index#104890
  2. LSP: first Edit of a file sends didOpen without didSave#100571

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.