0.16.0 • Published 2 years ago

@kogito-tooling/vscode-java-code-completion-extension-plugin v0.16.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

VSCode Java Code Completion Extension Plugin

Installation

This project extends the JDT.LS by providing an extension point for org.eclipse.jdt.ls.core.delegateCommandHandler.

This project is built using Eclipse Tycho and requires at least maven 3.0 to be built via CLI.

Simply run :

mvn install

The first run will take quite a while since maven will download all the required dependencies in order to build everything.

Usage

Once compiled you need to copy the generated JAR in a folder inside the extension, and you need to configure that location path in contributes section in pacakge.json

"contributes": {
    "javaExtensions": [
      "./server/vscode-java-code-completion-extension-plugin.jar"
    ],
    ...
}

and you also need redhat.java as extension dependency:

 "extensionDependencies": [
    "redhat.java"
  ]

Once done that, the Language Server will automatically recognize the new plugin.