Skip to content

lamminade/lsp4jakarta

 
 

Repository files navigation

LSP4Jakarta

License Build

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

Getting Started

  1. Run the ./buildAll.sh script to build the lsp4jakarta-1.0-SNAPSHOT-jar-with-dependencies.jar. This script also copies the lsp4jakarta-1.0-SNAPSHOT-jar-with-dependencies.jar to the /jakarta-eclipse/org.eclipse.lsp4jakarta.core directory

  2. Install Eclipse Plugin Development Environment (step 1 here: https://medium.com/@ravi_theja/creating-your-first-eclipse-plugin-9b1b5ba33b58)

  3. Import org.eclipse.lsp4jakarta.core, org.eclipse.lsp4jakarta.tests and lsp4jakarta projects in Eclipse

  4. Ensure that projects are being built with JavaSE-11 ("Right-click project" --> "Properties" --> "Java Build Path" --> "Libraries")

  5. Ensure that lsp4jakarta-1.0-SNAPSHOT-jar-with-dependencies.jar jar is on the Java Build Path for the org.eclipse.lsp4jakarta.core project

  6. Run org.eclipse.lsp4jakarta.core as an Eclipse Application to launch a new instance of Eclipse with LSP4Jakarta (Right-click on the org.eclipse.lsp4jakarta.core project, "Run As" --> "Eclipse Application")

To run the tests:

  • Run mvn verify from the jakarta-eclipse folder

Common errors encountered when setting up the Eclipse workspace:

  • Bundle 'org.apache.commons.lang3' cannot be resolved in Eclipse worskspace #46

Contributing

Our CONTRIBUTING document contains details for submitting pull requests.

Feedback

Please report bugs, issues and feature requests by creating a GitHub issue.

About

Language Server for Jakarta EE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%