Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install instructions #1

Open
seba-1511 opened this Issue Oct 12, 2017 · 6 comments

Comments

Projects
None yet
4 participants
@seba-1511
Copy link

seba-1511 commented Oct 12, 2017

This project looks quite promising, especially given that most editors are including support for LSP.

Could you provide install instructions for people that are not familiar with gradle/the java ecosystem ?

Thanks,
Séb

@adamvoss

This comment has been minimized.

Copy link
Contributor

adamvoss commented Oct 13, 2017

Are you looking for build instructions or installation instructions?

Build instructions I can do: gradle build

Installation instructions would become a matter of what you mean by "install." Currently the only client I know of is vscode-languagetool which bundles this server so separate installation is not required.

@seba-1511

This comment has been minimized.

Copy link
Author

seba-1511 commented Oct 13, 2017

Thanks for your quick reply.

I managed to run gradle build, but how would I start the language server ? (e.g. for python I would start it with pyls , for C clangd, etc...)

My specific language client is for neovim, but I assume this would be useful for others too.

@adamvoss

This comment has been minimized.

Copy link
Contributor

adamvoss commented Oct 19, 2017

Here is how you can start this application:

gradle installDist
./build/install/languagetool-languageserver/bin/languagetool-languageserver $PORT_NUMBER

Where $PORT_NUMBER is the port for the socket connection (opened by the client) that the server will communicate with.


I'll be happy to accept pull requests that add better support for other clients, but this is not something I will be undertaking myself in the foreseeable future. This does use LSP4J and speaks the protocol, but the actual communication piece was only written enough to support the VSCode client I was writing at the time.

@plexigras

This comment has been minimized.

Copy link

plexigras commented Apr 19, 2018

@seba-1511 did you get it to work?

@seba-1511

This comment has been minimized.

Copy link
Author

seba-1511 commented Apr 19, 2018

No, didn't have the time to fiddle and try to connect it with neovim-language-client.

@davidlday

This comment has been minimized.

Copy link
Member

davidlday commented Jan 14, 2019

Please see issue #6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.