Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] Code assist for Node.js - Is IJavaCompletionProposalComputer API removed?

The extension point is certainly still there--JSDT itself uses it, and it 
is still the recommended way to contribute proposals when you'd rather not 
tinker with the underlying JavaScriptModel itself. I don't recall seeing 
any bugs opened about it against Kepler, though.

Nothing from WTP seems to be in the Kepler help site.

---
Regards,
Nitin Dahyabhai




From:   Paul Verest <paul.verest@xxxxxxxx>
To:     wtp-dev@xxxxxxxxxxx
Date:   01/06/2014 09:51 AM
Subject:        [wtp-dev] Code assist for Node.js - Is 
IJavaCompletionProposalComputer API removed?
Sent by:        wtp-dev-bounces@xxxxxxxxxxx



Hello & Happy New Year

It is great that to see that JSDT project is reviving back as highly 
active project.
Please when repository is combined, put README in the base with how to 
build (even those `mvn clean package`), 
that would be very convenient when looking at GitHub 
https://github.com/eclipse/webtools.jsdt.core


I am trying to give Node.js specific content assist for JSDT-based Editor.
What worked well for TextEditor -based Editor, did not work for JSDT:

Content assist with javaCompletionProposalComputer for Eclipse JSDT gives 
no proposal
http://stackoverflow.com/questions/20779899/content-assist-with-javacompletionproposalcomputer-for-eclipse-jsdt-gives-no-pro


Quote:

in plugin.xml
<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">
      <partition type="__java_javadoc"/>
   </javaCompletionProposalComputer>
 </extension>

and a Class that 
implements IJavaCompletionProposalComputer

Then looking at documentation I found that 
there is no "JavaScript Completion Proposal Computer" on Kepler Help
http://help.eclipse.org/kepler/index.jsp (but there is in Juno and before)

(I also know that open source JSDT-jQUery, JSDT-ExtJS both 
ran into problem with the latest 4.3.1. Hopefully I am not correct here)

Is it Help bug or was it removed?

Any way, what is JSDT recommended way to provide content assist / 
completion proposals ?

Best wishes,
Paul Verest

http://eclipse-china.github.io/
http://www.nodeclipse.org/
http://with-eclipse.github.io/





_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/wtp-dev




Back to the top