-
Notifications
You must be signed in to change notification settings - Fork 26
Extend Node SDK to allow JSON format output #8
Comments
Current progress: For this config running this language server extension: https://github.com/octref/vscode-language-server-template
Log looks like this:
For The motivation behind this format is:
Later I can update the LSP Inspector to handle this format of log. I suggest that for I can make the inspector process Info/Warn/Error/Trace as part of the visualization too. Think that would be helpful. /cc @dbaeumer |
https://github.com/Microsoft/language-server-protocol-inspector#log-format At the end, I decided to decouple the streaming part from the Text/JSON format part. The config currently looks like this:
For the very simple WebSocket streaming implementation, see octref/vscode-language-server-template@4181af8 This way we don't need to introduce another dependency for WebSocket, and users get more control of the WebSocket connection they want to do. |
From @octref on June 18, 2018 7:53
Allow an object literal to be passed to
[langId].trace.server
, likeAnd make sure the JSON output can be digested by the format in #7.
Copied from original issue: octref/lsp-inspector#8
The text was updated successfully, but these errors were encountered: