facebookarchive / ide-flowtype

Flow support for Atom IDE
Other
178 stars 17 forks source link

feature request: surface relevant auto-complete options #69

Open mgrip opened 6 years ago

mgrip commented 6 years ago

I originally posted this on the atom-ide-ui repo, but now I think it might make more sense here? Apologies if not

https://github.com/facebook-atom/atom-ide-ui/issues/245

👋

First off this plugin is amazing, thanks for your contributions.

Wanted to get your thoughts on how the autocomplete options are sorted. It seems right now everything is just alphabetical - would it make sense to prioritize user-defined values? Ie in the below example, the list could be

name price rating hasOwnProperty etc Not 100% sure this would be better or not, but figured its worth discussing. Sometimes the list of built in properties/functions can be overwhelming, and I end up typing out the entire word since the thing I'm looking for isn't the 1st autocomplete option

image