Add info from google doc into README-dev-env.txt

This commit is contained in:
Kris De Volder
2017-09-25 09:50:22 -07:00
parent e6e960d924
commit 1f7bfed5f5

View File

@@ -33,3 +33,45 @@ That way the Eclipse runtime workbench will connect to your separate language se
I hope this gives you a nice getting started experience… :-)
Please do not hesitate to reach out to me anytime.
--- more pasted from google docs:
STS4 - Dev Environment Setup
Running the STS4 Boot Java Language Server locally
Import the headless-services modules into your workspace as existing Maven projects.
Startup the boot java language server with:
Main Class: org.springframework.ide.vscode.boot.java.Main
Vmargs: -Dstandalone-startup=true
This starts up the language server and it listens on port 5007
(this is implemented in LaunguageServerApp)
Connect local STS4 Boot Java LS to VSCode
Change the setting in Main.ts:
CONNECT_TO_LS: true
This connects the VSCode extension to the locally running language server.
It also uses port 5007
Connect local STS4 Boot Java LS to Eclipse runtime workbench
Startup a runtime workbench of the Eclipse STS4 distribution
The language server plugin is: org.springframework.tooling.boot.java.ls
Add Vmargs: -Dboot-java-ls-port=5007
This lets the Eclipse language server extension connect to the locally running language server on port 5007
Additional Resources
If you want to debug into LSP4E, clone the project from https://git.eclipse.org/r/lsp4e/lsp4e and import the projects into your workspace. That is definitely the easiest way.
If you want to debug into LSP4J code, you can add the LSP4J-SDK feature to your target platform. We have usually versions from this in our builds:
http://services.typefox.io/open-source/jenkins/job/lsp4j/job/master/lastStableBuild/artifact/build/p2-repository/
There is an update site that contains our latest language servers as extensions for Eclipse:
http://dist.springsource.com/snapshot/TOOLS/sts4-language-server-integrations/nightly
This is being produced by:
https://build.spring.io/browse/IDE-CODE
CI builds of the full STS4 distribution can be downloaded from here:
http://dist.springsource.com/snapshot/STS4/nightly-distributions.html