I’ve been referred here from the EPP-Dev list. If thereis a better place for my 
questions, please advise. While a long-time developer, I’m not a developer 
ofEclipse tools, I work at the app level. I've taken interest in FOSS 
thatfacilitates JavaScript plugins to be run in the JRE. I’m running the 
latestEclipse Neon.1 plus Tern, and looking for the best Java + JavaScript 
polyglot CodeAssist available with the current technology. For example, I can't 
find theabsolute latest answers to questions about code like this: /**  How is 
thisreference to core namespace and class annotated?  And how and wheredo I 
define the dependencies?*/var File = java.io.File,    myDir = 
newFile('TestDir'), // should offer assistance on constructors    myFile = 
newFile(myDir,'FileName');if (!myFile.exists()) { // should recognize this 
method// Where do I set path references for non-core resources?    var myClass 
=new com.foo.bar.baz.Class();   myClass.doSomething(myFile); // and will it 
offer assistance forreferences like this?} I believe I need to start fitting 
code like this withJSDoc annotations to help the parsers. Before I go on a 
spree to annotateeverything, it would be helpful to know how to get the best 
code completion,type recognition, etc from unannotated code. To facilitate 
that, I will be looking for a mechanismthat allows for JSDoc annotation 
suggestions from selection of functions,variables, etc. The default (Source > 
Generate Element Comment) don't seemto work. Any tool recommendations?  I 
understand this forum is for Web Tool developers. I'mhoping for recommendations 
for more user-oriented questions or to work withdevelopers toward specific 
issue resolution. When content assistance doesn'twork for the code above, for 
example, I don't know whether to look for a JSDTforum, whether it's a Tern 
issue, one of the Tern plugins, a core Eclipseissue, etc. Thanks!T
_______________________________________________
wtp-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to