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

Prop autocompletion not working #8

Open
jhasubhash opened this issue Oct 7, 2018 · 0 comments
Open

Prop autocompletion not working #8

jhasubhash opened this issue Oct 7, 2018 · 0 comments

Comments

@jhasubhash
Copy link

jhasubhash commented Oct 7, 2018

const element = <Welcome name="Sara" age="23" street="annoi"/>; ReactDOM.render( element, document.getElementById('root') ); W
I don't see Welcome in the auto-completion when cursor is after 'W'. Upon debugging I found out that for JSXIdentifier 'visitor.JSXIdentifier = ignore;' gets called from acorn walk. Is it expected? or am I missing something? Shouldn't it be calling something like scope.defProp(nameNode.name, nameNode) as it happens in tern?

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

1 participant