Skip to content

Send initialization after lsp init#10182

Merged
Colengms merged 1 commit intomainfrom
coleng/separate_initialize
Nov 24, 2022
Merged

Send initialization after lsp init#10182
Colengms merged 1 commit intomainfrom
coleng/separate_initialize

Conversation

@Colengms
Copy link
Contributor

We can't process notifications from the native side to the client side until after the LSP server is initialized. This change breaks our initialization into 2 parts. First, we do only the minimum necessary to initialize the LSP server itself. Then the very next message is our own initialization message.

This change allows log output from our portion of initialization to be routed and correctly logged. Previously, any log output from our initialization was getting discarded.

@Colengms Colengms merged commit eca31aa into main Nov 24, 2022
@sean-mcmanus sean-mcmanus deleted the coleng/separate_initialize branch November 24, 2022 02:01
@github-actions github-actions bot locked and limited conversation to collaborators Jan 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants