-
Notifications
You must be signed in to change notification settings - Fork 15
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
Split Quarkus / MicroProfile support #229
Comments
angelozerr
added a commit
to angelozerr/quarkus-ls
that referenced
this issue
Feb 28, 2020
See redhat-developer#229 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/quarkus-ls
that referenced
this issue
Feb 28, 2020
See redhat-developer#229 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/quarkus-ls
that referenced
this issue
Feb 28, 2020
See redhat-developer#229 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/quarkus-ls
that referenced
this issue
Feb 28, 2020
See redhat-developer#229 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/quarkus-ls
that referenced
this issue
Feb 28, 2020
See redhat-developer#229 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/quarkus-ls
that referenced
this issue
Feb 28, 2020
See redhat-developer#229 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/quarkus-ls
that referenced
this issue
Feb 28, 2020
See redhat-developer#229 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/quarkus-ls
that referenced
this issue
Feb 28, 2020
See redhat-developer#229 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
that referenced
this issue
Feb 28, 2020
See #229 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/quarkus-ls
that referenced
this issue
Feb 28, 2020
See redhat-developer#229 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/quarkus-ls
that referenced
this issue
Mar 2, 2020
See redhat-developer#229 Signed-off-by: azerr <azerr@redhat.com>
angelozerr
added a commit
to angelozerr/quarkus-ls
that referenced
this issue
Mar 2, 2020
See redhat-developer#229 Signed-off-by: azerr <azerr@redhat.com>
xorye
pushed a commit
that referenced
this issue
Mar 2, 2020
See #229 Signed-off-by: azerr <azerr@redhat.com>
Now we have java codelens, hover and diagnostics extension point, MicroProfile and Quarkus stuff are splitted with a clean mean on JDT LS Side. I close this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Today we have MicroProfile / Quarkus support for
application.properties
(completion, hover, validation, code action) for MicroProfile / Quarkus properties.application.properties
The
application.properties
support is proper managedon JDT LS extension side a propertiesProvider extension point is used to collect any properties (MicroProfile ConfigProperty, MP Rest, Quarkus ConfigRoot, Quarkus kubernetes, etc). We have 2 plugins which manages that (one for MicroProfile and one for Quarkus). For this part, there are nothing to do.
on MicroProfile LS side, the main code is not linked to Quarkus (just profile and some JSON file which manage Level for value which is specific for Quarkus). For the moment I think we can live with that.
So I think for
application.properties
support, there are nothing to do.java codelens, hover
For java codelens hover support, it's not very clean:
on JDT LS extension side
quarkus.http.server.port
property to retrieve server port although this property is unknown for MicroProfile. We need to provide extensibility for codelens.on MicroProfile LS it's generic (not linked to Quarkus), but MicroProfile LS manages .properties and .java files both. It causes the problem with java formatter. See vscode-quarkus should not be a Java formatter vscode-quarkus#166 because MicroProfile LS returns the format capability to true (because it can format application.properties) but it is not able to format java files.
Solutions
There are 3 solutions to fix the extensibility and problem with MicroProfile LS (java formatter):
Solution 1: Keep MicroProfile LS to manage java
Solution 2: Create new MicroProfile LS for java
Solution 3: Manage java features with JDT LS
With this solution, we skip the language server and manages codelens, hover, etc with new extensions points provided by the JDT LS project.
// @jeffmaury
The text was updated successfully, but these errors were encountered: