Skip to content

Protocol 3.17#44

Open
bennypowers wants to merge 5 commits into
tliron:mainfrom
bennypowers:feat/protocol_3_17
Open

Protocol 3.17#44
bennypowers wants to merge 5 commits into
tliron:mainfrom
bennypowers:feat/protocol_3_17

Conversation

@bennypowers

Copy link
Copy Markdown

Closes #10

Caution

This PR was prepared using an LLM code assistant. Please carefully review it.

Add workspace/diagnostic request handler and types per LSP 3.17 spec,
enabling pull-based workspace-wide diagnostics. Fix copy-paste bug in
ImplementationRegistrationOptions embedding, MarkedString.UnmarshalJSON
value receiver, SemanticTokensClientCapabilities JSON tag casing, and
a typo in notebook-document.go. Replace interface{} with any, add nil
guards in tests, and replace no-op test assertions with real checks.

Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Fix BoolOrString.UnmarshalJSON value receiver so parsed values are
retained. Make BoolOrString.String() safe when Value is nil. Use
discriminator fields for polymorphic JSON unmarshaling in
TextDocumentEdit (annotationId), WorkspaceEdit (kind), and
CompletionItem (insert). Handle embedded WorkDoneProgressOptions in
SemanticTokensOptions.UnmarshalJSON. Handle explicit JSON null for
TextDocumentSyncOptions save field.

Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Merge inlay hint support from dschmidt. Our branch already had a more
complete inlay hint implementation including InlayHintLabelPart,
InlayHintResolve, and client capabilities, so we keep our version and
remove the duplicate inlay-hints.go file.

Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

Implement protocol 3.17.0

2 participants