I've started working on a NetBeans plugin for Angular. It currently
provides code completion and popup documentation of angular widgets
and directives.
It is very early days for it and it is very experimental, but I think
is in a state to be useful.
You can find the binaries here:
https://github.com/mdolk/angular-netbeans-plugin-dist
Note, that you need the non-minified angular-0.9.19.js somewhere in
your project for the plugin to work, as it parses the comments in the
js-file. That way you can get code completion for your own
widgets/directives.
Cheers,
Mårten
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/angular?hl=en.
Btw, what markup language is used in the comments? Now I rely on
regexp based string replacement and that is getting ugly in a hurry. I
need a real parser to generate the docs.
/mårten
2011/10/5 rur <flui...@gmail.com>:
> Nice work Márten, works a treat!
>
> --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/angular/-/noP97Pdnd0YJ.
So I guess it is markdown syntax converted using Showdown?
https://github.com/angular/angular.js/blob/master/lib/showdown/showdown-0.9.js
/mårten
2011/10/5 Mårten Dolk <marte...@gmail.com>:
2011/10/5 cambiata <jona...@gmail.com>:
> I'm ready to pay 3 t-shirts for someone creating an Eclipse plugin! :-)
>
> --
> You received this message because you are subscribed to the Google Groups "AngularJS" group.
Latest version can be downloaded here:
https://raw.github.com/mdolk/angular-netbeans-plugin-dist/master/binaries/0.2/com-github-mdolk-ng-netbeans.nbm
Regarding the plugin working with angular split into many files; the
plugin works by parsing all resources in a project which NetBeans
regards having the MIME-type "text/javascript". So it does not
discriminate between js-files. If you add @ngdoc to 3rd party
directives/widget you will get code completion for them as well. E.g:
/**
* @ngdoc directive
* @name my:foobar
*
* @description
* The descriptive text...
*
* @element ANY
* @param {expression} expression needed to foo the bar.
*/
/mårten
2011/10/5 Nikolaos Dimopoulos <ni...@niden.net>: