Create fully-featured IJavaCompletionProposal from IMethod [message #1795422] |
Fri, 21 September 2018 15:32 |
Vacuum Cleaner Messages: 1 Registered: September 2018 |
Junior Member |
|
|
Hi JDT,
I'm replacing some old/odd code that created it's own Completion Engine to collect jdt.core.CompletionProposals (see IntelligentCompletionContext#initializeCompletionEngine for more details.) These proposals then are filtered based on how likely it is that a developer would use that proposal.
Now, I would like to get rid of that "trigger code completion, collect and filter, and create IJavaCompletionProposals from CompletionProposal" approach and directly create the proposals myself - and best with exactly the same behavior as standard JDT proposals (variable names, cycling through parameters, proposals for best matching variables etc.)
Is there an easy way to create such proposals from outside JDT, given that I have a handle on IMethod, IField or IType elements?
Thanks,
Sunshine
|
|
|
Powered by
FUDForum. Page generated in 0.03450 seconds