Skip to content

feat(lsp): put help on its own line and send related information only when the client takes it 🪧 - #571

Merged
timfennis merged 1 commit into
masterfrom
feature/lsp-help-line-and-related-capability
Nov 29, 2026
Merged

timfennis merged 1 commit into
masterfrom
feature/lsp-help-line-and-related-capability

Conversation

@timfennis

Copy link
Copy Markdown
Owner

Asked for by the floe editor, which shows each line of a diagnostic's message as its own row.

What changes:

  • A diagnostic's help goes on a line of its own after the message, instead of after a . . LSP has no field for help, so it stays in the message, but a long help no longer runs on from the message as one sentence. The playground's lint tooltip keeps the line break.
  • Related information (the label and notes of an analysis error, sent since feat(lsp): send what an error says at each place as related information 🧭 #568) goes only to a client that says it takes it (textDocument.publishDiagnostics.relatedInformation). Other clients get the diagnostics without it.

Written with AI (Claude Code), all of it.

🤖 Generated with Claude Code

Co-authored-by: Claude Opus 5.5 noreply@anthropic.com

… when the client takes it 🪧

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T13:34:58.638252Z 4788675 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@timfennis
timfennis merged commit 2621db1 into master Nov 29, 2026
1 check passed
@timfennis
timfennis deleted the feature/lsp-help-line-and-related-capability branch November 29, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant