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

Consider allowing the user to define it's rules to define a class, methods and props. #582

Closed
totty90 opened this issue Nov 11, 2014 · 2 comments

Comments

@totty90
Copy link

totty90 commented Nov 11, 2014

Here you say

Documenting an Ext JS 4 class will be a breeze if you are using the standard Ext.define syntax:

But you could allow me to define my way without having to use the @Class everywhere.

@nene
Copy link
Member

nene commented Nov 12, 2014

This would be nice, sure. But far from easy to implement.

Even the API for defining custom tags is currently quite complicated. Defining the rules for auto-detection is much more complicated - even the built-in auto-detection code is tricky.

The idea has crossed my mind several times, but I so far have no ideas for a feasible implementation of such user-extensible auto-detection system. Therefore unless you're suggesting a way to implement this, I'm closing this issue.

@nene nene closed this as completed Nov 12, 2014
@totty90
Copy link
Author

totty90 commented Nov 12, 2014

I have no idea as I've never parsed js. Would be a nice thing to learn, but I have too much to do.

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