Content assist with javaCompletionProposalComputer for Eclipse JSDT gives no proposal

那年仲夏 提交于 2019-12-03 21:28:29

If you need a simple example implementation implementing Pauls answer you may check out this tutorial: http://codeandme.blogspot.co.at/2014/05/extending-jsdt-adding-your-own-content.html

Paul Verest

Exactly as @zulus said:

try to add activate="true" in javaCompletionProposalComputer and remove

what worked is:

<extension point="org.eclipse.wst.jsdt.ui.javaCompletionProposalComputer"
   id="nodeclispe_textual_proposals"
   name="Nodeclipse Text Proposals">
   <proposalCategory icon="icons/npm/npm.gif"/>
 </extension>
 <extension point="org.eclipse.wst.jsdt.ui.javaCompletionProposalComputer"
   id="NodeclipseProposals"
   name="Nodeclipse Proposals">
   <javaCompletionProposalComputer
      class="org.nodeclipse.ui.contentassist.JSDTProposalComputer"
      categoryId="org.eclipse.ui.texteditor.textual_proposals"
      activate="true">
   </javaCompletionProposalComputer>
 </extension>


(source: nodeclipse.org)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!