microsoft/vscode-languageserver-node

Support middleware for logMessage and showMessage

开放

#1,131 创建于 2022年10月3日

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

仓库指标

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

描述

Hi. I'm looking for an idiomatic way to intercept a server-initiated notification (say window/logMessage) to hook some custom functionality. The only related example I could find uses a middleware to intercept the client-initiated request, which does not seem applicable in this case. Notice that, in my case, I would need to keep forward the notification to the client so that the notification is handled as usual. Any pointer would be appreciated.

贡献者指南