Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.169 ·

LSP diagnostics Setting

Entry
JSON All of v2.1.169
EntryKind: in v2.1.169,
ChangesSection of the release
What

A new diagnostics boolean option on each LSP server entry in lspServers that controls whether publishDiagnostics notifications are automatically injected into the agent context after file edits.

Usage
// In settings.json:
{
  "lspServers": [
    {
      "name": "my-lsp",
      "command": "...",
      "diagnostics": false
    }
  ]
}
Details
  • Defaults to true — current behavior is unchanged unless you explicitly set false
  • Setting to false keeps LSP navigation features (go-to-definition, hover, completions) active while suppressing automatic error/warning injection after edits
  • Useful when diagnostics are noisy or slow down the agent loop on large projects
Evidence

Settings schema addition (search for "Whether to push publishDiagnostics into the agent context after edits") — added to lspServers schema at line ~11733

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.169 →

Feedback