Skip to content

feat: initialize LSP clients before requests#3324

Draft
aofei wants to merge 1 commit into
goplus:devfrom
aofei:lsp-initialize
Draft

feat: initialize LSP clients before requests#3324
aofei wants to merge 1 commit into
goplus:devfrom
aofei:lsp-initialize

Conversation

@aofei

@aofei aofei commented Jul 2, 2026

Copy link
Copy Markdown
Member

Send the LSP initialize request before ordinary client requests and follow it with the initialized notification after the server accepts the handshake. This declares the editor capabilities the client consumes and gates requests until the server is ready.

Thread the UI locale into the initialization params and align JSON-RPC IDs with the LSP MessageID shape used by request and response messages.

Updates goplus/xgolsw#329

gemini-code-assist[bot]

This comment was marked as resolved.

Send the LSP `initialize` request before ordinary client requests and
follow it with the `initialized` notification after the server accepts the
handshake. This declares the editor capabilities the client consumes and
gates requests until the server is ready.

Thread the UI locale into the initialization params and align JSON-RPC IDs
with the LSP `MessageID` shape used by request and response messages.

Updates goplus/xgolsw#329

Signed-off-by: Aofei Sheng <aofei@aofeisheng.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.

1 participant