microsoft/vscode-languageserver-node

Support middleware for logMessage and showMessage

Offen

#1.131 geöffnet am 03.10.2022

 (1 Kommentar) (0 Reaktionen) (1 zugewiesene Person)TypeScript (397 Forks)auto 404
feature-requesthelp wanted

Repository-Metriken

Stars
 (1.776 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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.

Contributor Guide