Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin docs #109

Closed
mgol opened this issue Nov 18, 2014 · 2 comments
Closed

Plugin docs #109

mgol opened this issue Nov 18, 2014 · 2 comments

Comments

@mgol
Copy link

mgol commented Nov 18, 2014

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?

@olov
Copy link
Owner

olov commented Nov 19, 2014

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!

@olov
Copy link
Owner

olov commented Nov 19, 2014

closing in favor of #111

@olov olov closed this as completed Nov 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants