microsoft / microsoft/vscode-languageserver-node

Support middleware for logMessage and showMessage

Open
#1,131 1 comment 0 reactions 1 assignee View on GitHub

@dbaeumer is already working on this.

Since Nov 29, 2022.

feature-request help wanted
Dominant language
TypeScript
Stars
1.8k
Forks
404
Avg merge
2d 8h
Merged PRs (30d)
14

Description

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

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.