microsoft/vscode-languageserver-node

Allow initializationOptions, fillInitializeParams, etc to be async

Aperta

#1283 aperta il 3 ago 2023

 (1 commento) (0 reazioni) (0 assegnatari)TypeScript (397 fork)auto 404
feature-requesthelp wanted

Metriche repository

Star
 (1776 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

I want to do some async work to compute the initialization options and client capabilities.

Since BaseLanguageClient#initialize is already async, I'd like to make these calls also async:

https://github.com/microsoft/vscode-languageserver-node/blob/f2ff7d55464a1f58f978cb6635bd8865f050553c/client/src/common/client.ts#L1227-L1228

https://github.com/microsoft/vscode-languageserver-node/blob/f2ff7d55464a1f58f978cb6635bd8865f050553c/client/src/common/client.ts#L1232

Guida contributor