Java language support with LSP example


Is there any example of how to use LSP with codemirror to support java language with autocomplete.


This blog post might be of some use, but there’s no full example of integrating with an LSP server right now—mostly because that’s a complicated thing to do, and there’s no one-size-fits-all way to run and talk to LSP servers from the browser. (I.e. with TypeScript’s server you might want to run the server client-side, with most that’s not an option and you need some kind of server-side setup, but then you’ll also need to wire that server up to look for your code in the right place, and create some kind of proxy or bridge to let the client-side JS talk to it, etc).