Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lsp4mp-dev] Understanding a test

Yes, method flags were incorrectly processed in my IJ implementation. Tests are passing now.

Thanks for the help

On Tue, Oct 5, 2021 at 6:26 PM Roland Grunberg <rgrunber@xxxxxxxxxx> wrote:
On Tue, 2021-10-05 at 17:19 +0200, Jean-Francois Maury wrote:
> Hello,
>
> I am porting codelens support for IntelliJ. I looked at this test:
> https://github.com/eclipse/lsp4mp/blob/0.3.0/microprofile.jdt/org.eclipse.lsp4mp.jdt.test/src/main/java/org/eclipse/lsp4mp/jdt/core/restclient/JavaCodeLensMicroProfileRestClientTest.java#L58
>
> and don't understand because codelens are returned by the JaxRs
> participant. Can someone explain why the list should be empty ?
> Because the Java file is an interface ?

When I went through the code, the part that ignored reporting the code
lens elements (in JaxRsCodeLensParticipant) happened because the method
declaration did not contain a 'public' modifier. Not sure if this is
the right approach, so CC'ing Angelo so that he may comment on this
testcase.

--
Roland Grunberg

_______________________________________________
lsp4mp-dev mailing list
lsp4mp-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/lsp4mp-dev



--

Jeff Maury

Manager, DevTools

Red Hat EMEA

jmaury@xxxxxxxxxx   


Back to the top