microsoft/vscode-languageserver-node

Allow initializationOptions, fillInitializeParams, etc to be async

开放

#1,283 创建于 2023年8月3日

 (1 条评论) (0 个反应) (0 位负责人)TypeScript (397 个派生)auto 404
feature-requesthelp wanted

仓库指标

星标
 (1,776 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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

贡献者指南