Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

autocomplete ordering #67

Open
acornejo opened this issue Sep 16, 2017 · 0 comments
Open

autocomplete ordering #67

acornejo opened this issue Sep 16, 2017 · 0 comments

Comments

@acornejo
Copy link

When autocompleting on objects, flow will show all possible options in alphabetical ordering.

Most of the times users are interested in the properties they defined on the object and not ALL existing properties. It would be useful to sort these to reflect this.

For example, considering the following object:

type Action = {type: string, payload: any}

If I autocomplete on this I probably want type or payload, but flow will present me with hasOwnProperty, isPrototypeOf, etc.. and type will be one of the last available options (sorted alphabetically).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant