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

Jump to update for message #140

Closed anagrius closed 2 years ago

anagrius commented 5 years ago

For a given message type in a module, one thing I do many times a day is to go to the place in the update function where that message is handled.

It would be fantastic if Elmjutsu could have a a "Jump to use in Update".

What i do now is usually just search for something like:

"MyMsg ->" and hope that matches.

You could just by convention say that the function must be called update.