Java LSP + Monaco Editor
The requirement is to enable code autocompletion in Monaco Editor for Java language.
Intro
According to this article, current repo is the right implementation for LSP.
As instruction, I am using this article.
Problem
How to launch (or how to connect) this repo with MonacoEditor? I can't understand how I should run this repo on the standalone server and establish the WebSocket connection.
Thanks a lot in advice!
I managed to do so, contact me for more info
Hey @Gilwe can you leave any clues for anyone else who is interested in doing the same thing?
@Gilwe Please share how did you manage to do so. Thanks in advance
I managed to do so, contact me for more info
Hey @Gilwe, How did you manage bro? Can you share?
Sorry for not answering for a long time, wasn't notified for some reason...
Anyway, there's a closed PR around here that allows you to create a fat jar.
So I created the fat jar and ran it locally to see that it works.
For the monaco part, I cloned and ran the web example in https://github.com/TypeFox/monaco-languageclient
And used the fat jar instead of the python server that is featured in the example.
@georgewfraser @amitbkumar
@boroda4436 This is the PR for creating a fat jar https://github.com/georgewfraser/java-language-server/pull/77