Racket LSP and Visual Studio Code

95 views
Skip to first unread message

DanL-WS

unread,
Nov 8, 2018, 5:29:55 PM11/8/18
to Racket Developers
Greetings -

I find myself working on Racket files with devs who use Visual Studio Code.  Does anyone have a good sense of what would be required to fold a working Racket LSP implementation into a VS Code plugin? I assume https://github.com/cfinegan/atom-ide-racket would be a good starting point...

Maybe someone has put some work in this direction already?

Thanks,
Dan

John Clements

unread,
Nov 8, 2018, 5:35:13 PM11/8/18
to DanL-WS, Racket Developers
There are at least two relevant packages on pkgs.racket-lang.org:

racket-langserver

and

racket-language-server

The first one has 118 commits, last one in May, some failing tests. The second one has 50 commits, also most recently in May, and doesn’t build (according to the CI engine). Perhaps most importantly, Jay McCarthy is an author on the first one.

John
> --
> You received this message because you are subscribed to the Google Groups "Racket Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to racket-dev+...@googlegroups.com.
> To post to this group, send email to racke...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/0ec47f6d-e5de-4814-a78b-299dc1e75f43%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



Vishesh Yadav

unread,
Nov 8, 2018, 5:41:26 PM11/8/18
to dlie...@wonderstorm.net, racke...@googlegroups.com
There is server implementation already like John mentioned. I don't
know if any client exist for vscode, but Microsoft has put in an
example repository for client/server:
https://github.com/Microsoft/vscode-extension-samples/tree/master/lsp-sample/client
which should be easier to start with. I was able to make a basic Emacs
client by just invoking racket-langserver instead of example server.

--Vishesh
Reply all
Reply to author
Forward
0 new messages