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

JSX & loose parser #1

Open
angelozerr opened this issue May 2, 2016 · 1 comment
Open

JSX & loose parser #1

angelozerr opened this issue May 2, 2016 · 1 comment

Comments

@angelozerr
Copy link

Is JSX completion can work. I post you this question as long as acorn-jsx will not support loose parser acornjs/acorn-jsx#32

@jacksonrayhamilton
Copy link
Owner

Completion seems to work for objects that are parsed before invalid JSX. But I can't complete JSXMemberExpression properties or objects parsed after invalid JSX.

I have a feeling this does hinge on acorn-jsx supporting loose parsing. Until then, you could use an "unintelligent" auto-completion plugin that finds candidates via a "word" regular expression. Currently I am pretty satisfied with an Emacs plugin which does that.

If this feature is important enough to you or others, open a bounty on Bountysource. Link it from this issue, and either put money into it right away, or ask me what I'd charge to implement it.

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