You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 25, 2020. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 25, 2020. It is now read-only.
This is a follow up from the discussion in the Reason editorsupport channel about using the language server for reason. I have moved the server out into a separate package at ocaml-language-server and the vscode reason client now uses this too.
The README describes the different ways to launch it. You should just be able to start it with ocaml-language-server --stdio if you want to run it over stdio.
Let me know if you try it and run into problems. There are some custom requests used that I have not documented yet but you can find most of them here.
So I'm trying to figure out how to respond to a few of your internal requests, and I'm not sure exactly what the response should look like.
I have this situation currently:
# I receive this and I'm not sure how to respond.
info: ( 62: on_request): {'request': {'id': 0, 'jsonrpc': '2.0', 'method': 'reason.client.giveWordAtPosition', 'params': {'uri': 'file:///home/tj/Downloads/example-ocaml-merlin/src/main.ml', 'position': {'character': 9, 'line': 6}}}}
Do I just send the string directly or do I need to format it into a langserver message? I have it currently sending a langserver request, but it doesn't seem to be doing anything.
Activity
tjdevries commentedon Nov 22, 2016
Awesome! I will try that out over this week. That seems very straightforward. Thanks for your help!
prabirshrestha commentedon Nov 23, 2016
Seems like having a doc section for all list of languages would be great
tjdevries commentedon Nov 23, 2016
I should point them to here: https://github.com/Microsoft/language-server-protocol/wiki/Protocol-Implementations
I will add this to the docs.
tjdevries commentedon Nov 23, 2016
@freebroccolo Any idea why I would be getting this message?
tjdevries commentedon Nov 23, 2016
(I can post an issue, but I'm guess I'm just not setting something up correctly)
tjdevries commentedon Nov 26, 2016
So I'm trying to figure out how to respond to a few of your internal requests, and I'm not sure exactly what the response should look like.
I have this situation currently:
tjdevries commentedon Nov 27, 2016
Do I just send the string directly or do I need to format it into a langserver message? I have it currently sending a langserver request, but it doesn't seem to be doing anything.