atom-ide-flow icon indicating copy to clipboard operation
atom-ide-flow copied to clipboard

Autocomplete for react components

Open yanivtal opened this issue 10 years ago • 1 comments

What would it take to get autocomplete for react components based on prop types?

There's pretty great syntax for type annotating props as seen here https://github.com/facebook/flow/blob/master/tests/new_react/classes.js

It would be phenomenal to get the available props as autocomplete suggestions when typing a component. i.e after I type '<mycomponent ' i would see a list of available attributes and on every space after that until I close the tag.

yanivtal avatar Jul 23 '15 00:07 yanivtal

@yanivtal the autocomplete feature is limited by the flow executable itself. ide-flow can't do much to solve this for you. Perhaps open an issue on the flow repo.

nmn avatar Jul 28 '15 14:07 nmn