halohalospecial / atom-elmjutsu

A bag of tricks for developing with Elm. (Atom package)
https://atom.io/packages/elmjutsu
MIT License
192 stars 24 forks source link

Completion from type annotation should take into account '|>' #48

Closed mandrolic closed 7 years ago

mandrolic commented 7 years ago

The completion from type annotation is really useful, but when you are piping in the last parameter, you have to just delete that part of the auto completion

[] |> Lists.Extra.Find (a -> Bool) List a

You don't really want the last 'List a'

Not sure how feasible it is, but would be nice

edit:

Also may be worth looking at some of the other operators like <|, >> << and infix functions

halohalospecial commented 7 years ago

Great idea! Let's add that special case. Thanks for the suggestion!