vmware-archive / scripted

The Scripted code editor
Eclipse Public License 1.0
1.56k stars 166 forks source link

AngularJS inferencing support #291

Open bkbonner opened 10 years ago

bkbonner commented 10 years ago

Andrew, Andy,

I'm relatively new to javascript, but I've been doing some research. I am interested in using Scripted with AngularJS and in particular take advantage of the inferencing that's appears to be available for requirejs, AMD and common DI frameworks.

Based on my limited knowledge, AngularJS appears to have JSDoc support https://github.com/angular/angular.js And it looks like scripted uses Esprima for inferencing....is this correct?

Can you point me to where I might begin to incorporate this sort of functionality?

I realize you are off to other things, but I'm curious if Scripted is going to get any more love? Firing up an editor from npm install and working it right in the browser is pretty awesome. AngularJS and code complete would be awesome :smile:

Brian

bkbonner commented 10 years ago

I just found this: https://github.com/scripted-editor/scripted/blob/master/completions/AndyjQuery.scripted-completions. I guess I thought it was using JSDoc...but I'm wondering is this how scripted is handling code complete?

I guess I need to try some other things out.

Also, please look at this link that has describes more of what I'm talking about: https://groups.google.com/forum/#!topic/scripted-dev/0-N-N1kXKy4