Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Running outside of vscode #72

Open
vorner opened this issue Oct 21, 2017 · 1 comment
Open

Running outside of vscode #72

vorner opened this issue Oct 21, 2017 · 1 comment

Comments

@vorner
Copy link

vorner commented Oct 21, 2017

Good morning

Is there a hard dependency on vscode? I'd like to run the language server in another editor (nvim, in this case), but I haven't found a way how to start it. Would it be possible to provide instructions?

Thank you

@alexarchambault
Copy link
Contributor

alexarchambault commented Oct 24, 2017

@vorner The command that runs the server is built before this line. It roughly looks like

$ java -Xmx768M -Dvscode.workspace=… -Dvscode.logLevel=… -jar path/to/coursier-jar launch \
    -r https://dl.bintray.com/dhpcs/maven \
    -r sonatype:releases \
    -J path/to/tools.jar \
    com.github.dragos:ensime-lsp_2.12:0.2.1 \
    -M org.github.dragos.vscode.Main

It relies on the launcher of coursier to fetch and run the server. The launcher itself is fetched when packaging the extension by this line.

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

No branches or pull requests

2 participants