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.shscript to build thelsp4jakarta-1.0-SNAPSHOT-jar-with-dependencies.jar. This script also copies thelsp4jakarta-1.0-SNAPSHOT-jar-with-dependencies.jarto the/jakarta-eclipse/org.eclipse.lsp4jakarta.coredirectory -
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.testsandlsp4jakartaprojects 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.jarjar is on the Java Build Path for theorg.eclipse.lsp4jakarta.coreproject -
Run
org.eclipse.lsp4jakarta.coreas an Eclipse Application to launch a new instance of Eclipse with LSP4Jakarta (Right-click on theorg.eclipse.lsp4jakarta.coreproject, "Run As" --> "Eclipse Application")
To run the tests:
- Run
mvn verifyfrom thejakarta-eclipsefolder
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.