microsoft / language-server-protocol

Defines a common protocol for language servers.
https://microsoft.github.io/language-server-protocol/
Creative Commons Attribution 4.0 International
10.91k stars 764 forks source link

Support multiple output channels for log message notifications #1885

Open mnoah1 opened 5 months ago

mnoah1 commented 5 months ago

Proposing a feature to allow log message notifications to report their output to a specific channel. These could be used to differentiate the output between multiple long and short lived tasks that may be run by the same language server at any given time.

Currently, since all log message notifications end up mixed in the same output channel, it can be difficult to use for cases such as implementing a run of a build that produces its own linear output that should be collected and viewed separately from any of the server's other output.

Another option could be something more like a show document request that displays text in a more read only manner, for example in a display more similar to the view in which VS code outputs test run progress.