Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

support for other language servers #30

Open
bobbrow opened this issue Aug 3, 2018 · 1 comment
Open

support for other language servers #30

bobbrow opened this issue Aug 3, 2018 · 1 comment

Comments

@bobbrow
Copy link
Member

bobbrow commented Aug 3, 2018

I work on the Microsoft C++ extension for VSCode and would like to use this for visualizing my logs. I currently have the capability to export all communication between VSCode and the language server as a JSON array, but when I tried to upload my file and view it in the visualizer it failed. If you could document the format you expect to see, perhaps I could modify my output to match. Or if you could support reading in a JSON array, that would be nice too.

Thanks.

@octref
Copy link
Contributor

octref commented Aug 3, 2018

Work is happening on standardizing a JSON format that lsp-inspector could load: microsoft/vscode-languageserver-node#366 (Had been on vacation, will catch up on this).

Then LSP-Inspector will have these pieces:

  • UI that depends on the specified JSON format
  • Parser that converts raw log into this JSON format

The Node vscode-languageserver library will receive a new option to output Line delimited JSON, which seems close to what you are having. This would allow streaming the log into the UI.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants