Name: java-language-server
Owner: Sourcegraph
Description: Java language server
Forked from: eclipse/eclipse.jdt.ls
Created: 2016-11-08 06:38:23.0
Updated: 2018-05-04 08:35:12.0
Pushed: 2016-11-28 22:37:53.0
Homepage: null
Size: 1456
Language: Java
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repository contains only the server implementation. For Visual Studio Code extension that uses this server visit
java-language-server is a server implementation that provides Java language smartness. The server adheres to the language server protocol and can be used with any editor that supports the protocol. The server utilizes Eclipse JDT, M2Eeclipse.
Fork and clone the repository
Install Eclipse Neon Java EE that will have most needed already installed. Alternately, you can get the Eclipse IDE for Java developers and just instal Eclipse PDE from marketplace.
Once installed use File > Open Projects from File System...
and
point it java-language-server
and Eclipse should automatically
detect the projects and import it properly.
If you after import sees an error on pom.xml
about Tycho, you can use Quick Fix
(Ctrl+1) to install the Tycho maven integration.
Install Apache Maven
This command will build the server into /org.jboss.tools.vscode.product/target/repository
folder:
n clean verify
Java Language server supports socket and named pipes to communicate with the client. Client can communicate its preferred connection methods by setting up environment variables
N_PIPE_NAME --> where client reads from
UT_PIPE_NAME --> where client writes to
N_PORT --> client reads
UT_PORT --> client writes to
optionally you can set host values for socket connectionsN_HOST
UT_HOST
For both connection types the client is expected to create the connections
and wait for server the connect.EPL 1.0, See LICENSE file.