-
Notifications
You must be signed in to change notification settings - Fork 406
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
Improve chain completions #2935
Conversation
ee83790
to
df1ecfc
Compare
df1ecfc
to
702ae60
Compare
702ae60
to
4203be6
Compare
@rgrunber what do think about this change ? |
4203be6
to
abeeeda
Compare
@rgrunber WDYT about this PR ? |
I think it should be fine to customize the chain completion rendering with this logic. The only part that I would want to look closely at is the |
This was done to reuse the existing logic for creating the completion rendering. Since the existing login in so closely tight with CompletionProposal I decided to use them even though I'm also not happy with that decision. We could of course decouple completion item rendering logic from CompletionProposal by extracting a contract for required information and decorating the CompletionProposal from underlying completion engine. This will provide us the opportunity to do the same with chain completions without trying to create CompletionProposals for them. Do you think that kind of a change will be beneficial for JDT.LS ? |
@rgrunber any feedback ? |
04e66ed
to
d36086e
Compare
@gayanper , can this change be closed or is there something here still needing to be merged ? |
I will check and get back. I need to check if javadoc is working with what we have right now. |
d36086e
to
d1a53b1
Compare
@rgrunber I think we can close this and I did accidentally closed it mixing up with a another PR, but I now confirmed that this PR is not needed anymore. |
The PR improve how the chain completions are transformed into CompletionItems by