Twice requests 'initialize' #478
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If there are 2 initializing, it means that server is started, stopped (because of some crash that you can see in stacktrace error) and server is restarted (because some LSP features are called after the crash and need the start of language server).
We store in a Map the request by id and when we receive response we try to get the registered request by the id. If we cannot find the response with id, we display this kind of message. I don't know why you have this usecase. It will require to debug your language server, but to be honnest with you I'm very busy for now. |
Beta Was this translation helpful? Give feedback.
If there are 2 initializing, it means that server is started, stopped (because of some crash that you can see in stacktrace error) and server is restarted (because some LSP features are called after the crash and need the start of language server).
We store in a Map the request by id and when we receive response we try to get the registered request by the id. If we cannot find the response with id, we display this kind of message.
I don't know why you have this usecase. It will require to debug your…