-
Notifications
You must be signed in to change notification settings - Fork 317
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
[Language Server] Hover needs to improve as xtext-eclipse. #2602
Comments
@svenefftinge what do you think |
I think with |
As per my understanding, hover related code is not Eclipse independent. Can we access/make the hover related code eclipse independent? Also, same request valid for most of the other features. |
I don't get your point. It costs you ten lines of code to get the same behaviour as in eclipse |
Yes, I understand that. I mean if we have common code eclipse independent code for LSP and eclipse then it gives more consistency. Also, in a case of a custom feature, we don't need to maintain two codebases. When Xtext generates the LSP, it needs to be an exactly same way to Eclipse. Why is this not true? |
of course that is true, but not everything can be united, at least it has no high priority or can be done simple. e.g. i dont know what you customized implemented in eclipse for the hover.
|
It is true that code that is Eclipse independent UI beahvior could be refactored to the IDE project. However, due to backward compatibility classes in Eclipse code must stay, but could derive from a generalized version in the .ide project. Pull requests are welcome here. |
Ah, now I understand your request.
The last item is what is missing and what you were asking for, right? |
Yes @svenefftinge, I am exactly requesting for last item. |
As for Xtext language server, Hover works only for the documentation section. For eclipse, hover gets provided at many places. We are not getting any advantage by Xtext grammar. At least it should be configurable where with the configuration we can select the eclipse behavior or different behavior.
I would like to understand sense to have hover only for documentation section.
Do we have any plan to make things separated and common for eclipse and LSP?
The text was updated successfully, but these errors were encountered: