dragos-vscode-scala icon indicating copy to clipboard operation
dragos-vscode-scala copied to clipboard

Running outside of vscode

Open vorner opened this issue 8 years ago • 1 comments
trafficstars

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

vorner avatar Oct 21 '17 18:10 vorner

@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.

alexarchambault avatar Oct 24 '17 13:10 alexarchambault