You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 21, 2021. It is now read-only.
I've been having some issues with source and javadoc attachment, which I'm not sure it's something I'm doing wrong, or a problem with ls-api itself.
So, I've built ls-api using gradlew (the tests fail BTW). I then added the lsapi and lsapi.services jars to my Eclipse project, added dependencies to my target plaform (like Google Guava and xtext.xbase.lib). I then tried to attach sources and javadoc to the the ls-api jars, and I also installed the Xtend IDE, however:
Navigating (using F3 to open definition) into a ls-api element doesn't work most of the time. It finds and opens the source file, but doesn't find the correction location in the source. (also, the editor interprets the source as Java, not Xtend)
Javadoc also seems to not work for most elements. For example, requesting the Javadoc pop-up for getTextDocumentService() of io.typefox.lsapi.services.LanguageServer doesn't work, (even though Open Definition for that method reference does work). In the Javadoc setup in the Eclipse buildpath settings, I pressed the validate button to make sure the setup was correct, and it was validated correctly. I also opened the Javadoc jar in a browser, and the Javadoc seems to be there:
getTextDocumentService()
Provides access to the textDocument services.
The text was updated successfully, but these errors were encountered:
For the core part we should remove the Xtend source as primary, since the generated Java code is very readable. For the services I'd like to keep the xtend code as primary code.
I've been having some issues with source and javadoc attachment, which I'm not sure it's something I'm doing wrong, or a problem with ls-api itself.
So, I've built ls-api using gradlew (the tests fail BTW). I then added the
lsapi
andlsapi.services
jars to my Eclipse project, added dependencies to my target plaform (like Google Guava and xtext.xbase.lib). I then tried to attach sources and javadoc to the the ls-api jars, and I also installed the Xtend IDE, however:getTextDocumentService()
ofio.typefox.lsapi.services.LanguageServer
doesn't work, (even though Open Definition for that method reference does work). In the Javadoc setup in the Eclipse buildpath settings, I pressed the validate button to make sure the setup was correct, and it was validated correctly. I also opened the Javadoc jar in a browser, and the Javadoc seems to be there:The text was updated successfully, but these errors were encountered: