Skip to content
This repository has been archived by the owner on Oct 6, 2018. It is now read-only.

Instructions for usage from non-js editors #1

Open
aaronjensen opened this issue Mar 5, 2017 · 0 comments
Open

Instructions for usage from non-js editors #1

aaronjensen opened this issue Mar 5, 2017 · 0 comments

Comments

@aaronjensen
Copy link

Hi, I spent a little bit of time trying to figure out how to communicate w/ vscode-jsonrpc from emacs (or even from the command line) and I'm hitting a wall.

I would expect to be able to do something like:

$ node prettier-rpc.js
Content-Length: 62
{"jsonrpc":"2.0","id":0,"method":"format","params":"x=>{x()}"}

But that doesn't do anything. I'm sure there's something I don't know about pipes or writable stream .write. Any tips you could provide would be helpful, thanks!

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