-
Notifications
You must be signed in to change notification settings - Fork 52
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
Export Class Support #8
Comments
The pattern for the
You would need to add another pattern for that one:
But I'm conflicted about this request as |
Hm, yeah I see get the conflict. Is that just a semantic difference in ctags or is it more meaningful? |
For the pattern, would this make sense?
I just added |
This is better:
This is not a technical problem, really, but a semantic problem: is that a named export or class definition? |
Makes sense, thanks! And it’s really both. I have a single file with a single class definition that it exports as a named export (i.e. not the default export). |
Hey Romain, thanks a lot for creating this super useful setup! I stumbled across the same problem. Do you think it would be possible to add the regex from your comment above to the repository? |
@tom3q I'm still not sure how to classify that thing: "class definition" or "named export", as it's both and I have no desire to have dupes in the generated |
Okay, thanks for explanation. I'll keep it in my fork. |
I'm pretty unfamiliar with the syntax for ctags regex and was wondering if there's a reason that the following wouldn't work?
I'd expect to be able to reach
Foo
as a class if that makes sense.The text was updated successfully, but these errors were encountered: