Skip to content

LSP Server for Java #926

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 56 commits into from
Sep 6, 2019
Merged

LSP Server for Java #926

merged 56 commits into from
Sep 6, 2019

Conversation

jlahoda
Copy link
Contributor

@jlahoda jlahoda commented Sep 29, 2018

No description provided.

@geertjanw
Copy link
Member

Wow, so much cool stuff here.

@jlahoda jlahoda requested a review from geertjanw August 1, 2019 06:33
@jlahoda jlahoda added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) and removed work-in-progress labels Aug 1, 2019
@jlahoda jlahoda changed the title WIP: Java LSP server LSP Server for Java Aug 1, 2019
@mickaelistria
Copy link

Is the goal implementing an alternative to JDT-LS ?
Is it described somewhere why an alternative to JDT-LS is desired in first place and what would be the differentiators between this and JDT-LS? (cc @fbricon)

@neilcsmith-net
Copy link
Member

@mickaelistria surely the obvious answer is javac?!

@mickaelistria
Copy link

If standard JDK is the key feature, then how is it different from https://github.com/georgewfraser/java-language-server ?
(Note that I'm really not trying to sound negative, I'm asking those questions to make sure I understand what cases are going to be better covered by this LS than by existing ones)

@jlahoda
Copy link
Contributor Author

jlahoda commented Aug 1, 2019 via email

@neilcsmith-net
Copy link
Member

If standard JDK is the key feature, then how is it different from https://github.com/georgewfraser/java-language-server ?

Until recently that project was also using parts of (pre-Apache) NetBeans' - eg. nb-javac. It also appears at present to have a license issue.

Personally I'd prefer there was an LS as part of the OpenJDK tools. But having it here seems next best step for an LS backed by javac and building on an editing infrastructure that's widely used.

…y calling the correct superclass method instead of the synthetic bridge.
@geertjanw
Copy link
Member

Should this be merged?

@jlahoda
Copy link
Contributor Author

jlahoda commented Sep 6, 2019

I am definitely +1 on merging this :-).

@@ -0,0 +1,18 @@
This is an extension for VS Code. Based on "lsp-sample" from:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing the license header (Travis CI fails)

@geertjanw
Copy link
Member

OK, merging.

@geertjanw geertjanw merged commit f740b00 into apache:master Sep 6, 2019
@junichi11 junichi11 added this to the 11.2 milestone Sep 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants