Fixed bug with missing definition hover for multiple annotation members#216
Conversation
|
Could you write a test please. |
There are existing tests for this feature (e.g. hover), the definition related tests are part of quarkus-ls: redhat-developer/quarkus-ls/pull/458 |
|
As this PR belongs to LSP4MP we should have tests (even if we have some tests on Quarkus LS side). In other words we should have tests:
|
As I mentioned, there are existing tests for hover: https://github.com/eclipse/lsp4mp/blob/master/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/src/main/java/org/eclipse/lsp4mp/jdt/core/config/java/MicroProfileConfigJavaHoverTest.java, which already handle the multiple member cases, and definition: https://github.com/eclipse/lsp4mp/blob/master/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/src/main/java/org/eclipse/lsp4mp/jdt/core/config/java/MicroProfileConfigJavaDefinitionTest.java. For this pr, since it is on the lsp4mp side, only |
69e0f4c to
29e96d6
Compare
Oh my bad, you are totaly right, sorry I see too quickly your PR and comments. |
d23f287 to
e996ec5
Compare
Signed-off-by: Alexander Chen <alchen@redhat.com>
|
Good job @AlexXuChen ! |
Fixed bug with missing definition hover for multiple annotation members
References #214 (comment)
Signed-off-by: Alexander Chen alchen@redhat.com