I wrote custom java proposals contributor. It works fine when using “Java Proposals” advanced configuration of content-assist in Eclipse.
However, when I select “Java Proposals (Task-Focused)” and uncheck “Java Proposals”, my proposals no longer show up.
Any idea why? Do I need to provide some extra information in my ICompletionProposal implementations?
The answer is simple in this case.
I used
org.eclipse.jdt.ui.javaAllProposalCategorycategoryID for myjavaCompletionProposalComputer, but this is “Java Proposals” category.When I created used own category ID, my proposals computer is now showing up in eclipse content-assist configuration, and proposals work as expected.
Full extension declaration now looks like this:
Important part is
categoryId="properties.javaProposals"