The Eclipse LSP4Jakarta (Language Server for Jakarta EE) project provides core language support capabilities for the specifications defined under the Jakarta EE (EE4J) umbrella.
This project contains:
- lsp4jakarta - Language Server for Jakarta EE
- jakarta-eclipse - Eclipse JDT LS extension and Eclipse IDE client that consumes the Language Server for Jakarta EE
-
Run the
./buildAll.sh
script to build thelsp4jakarta-1.0-SNAPSHOT-jar-with-dependencies.jar
. This script also copies thelsp4jakarta-1.0-SNAPSHOT-jar-with-dependencies.jar
to the/jakarta-eclipse/org.eclipse.lsp4jakarta.core
directory -
Install Eclipse Plugin Development Environment (step 1 here: https://medium.com/@ravi_theja/creating-your-first-eclipse-plugin-9b1b5ba33b58)
-
Import
org.eclipse.lsp4jakarta.core
,org.eclipse.lsp4jakarta.tests
andlsp4jakarta
projects in Eclipse -
Ensure that projects are being built with
JavaSE-11
("Right-click project" --> "Properties" --> "Java Build Path" --> "Libraries") -
Ensure that
lsp4jakarta-1.0-SNAPSHOT-jar-with-dependencies.jar
jar is on the Java Build Path for theorg.eclipse.lsp4jakarta.core
project -
Run
org.eclipse.lsp4jakarta.core
as an Eclipse Application to launch a new instance of Eclipse with LSP4Jakarta (Right-click on theorg.eclipse.lsp4jakarta.core
project, "Run As" --> "Eclipse Application")
To run the tests:
- Run
mvn verify
from thejakarta-eclipse
folder
Common errors encountered when setting up the Eclipse workspace:
- Bundle 'org.apache.commons.lang3' cannot be resolved in Eclipse worskspace #46
Our CONTRIBUTING document contains details for submitting pull requests.
Please report bugs, issues and feature requests by creating a GitHub issue.