You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docs for the plugin API are at best scarce (and there's even a mention about potential API changes in 0.9.x! ;)), it's not specified what specific methods are getting as input.
I looked at that since I need to be able to sort parameters options of functions with injected parameters for the purposes of a linting tool. Finding them all might not be such an easy task but since ng-annotate is already doing it I thought I might hook into this process, get the list of functions to be annotated and do some checks.
Is that possible?
The text was updated successfully, but these errors were encountered:
Right, the plugin API is super-experimental and I haven't really kept it up to date. The API as it once was created is focused a lot on extensibility it terms of matching rather than providing usable output for other tools (the latter is probably more useful). What you're asking about is not possible right now.
The API as it looks right now should most likely be deprecated in favor of a new, improved (and documented) API. I welcome contributions in this area!
Docs for the plugin API are at best scarce (and there's even a mention about potential API changes in 0.9.x! ;)), it's not specified what specific methods are getting as input.
I looked at that since I need to be able to sort parameters options of functions with injected parameters for the purposes of a linting tool. Finding them all might not be such an easy task but since
ng-annotate
is already doing it I thought I might hook into this process, get the list of functions to be annotated and do some checks.Is that possible?
The text was updated successfully, but these errors were encountered: