edubkendo / atom-elm

An atom package providing syntax highlighting and snippets for the Elm language.
65 stars 22 forks source link

Freature Request: Inline type inspection #22

Open Fresheyeball opened 8 years ago

Fresheyeball commented 8 years ago

Its a dream, but I'd like to be able to hover over anything and see a type stack a la FPComplete.

screen shot 2015-10-16 at 11 41 00 am

In Elm it could be something like:

foo : Signal Int
foo = Signal.map ((+) 1) sigInt

when the cursor is over map, the tooltip could say

: (a -> result) -> Signal a -> Signal result
: (Int -> Int) -> Signal Int -> Signal Int
Fresheyeball commented 8 years ago

*drools

nmn commented 8 years ago

A hyperclyck provider to support cmd/ctrl + click would be pretty awesome too!

edubkendo commented 8 years ago

So I am not personally using Atom these days, nor do I have any current Elm projects, but this does sound pretty awesome. I would happily accept a pull request implementing this feature if @brianegan doesn't get around to it.

gyzerok commented 8 years ago

@edubkendo may be this is a good reason to transfer project to someone or elm-community?

Fresheyeball commented 8 years ago

@gyzerok that sounds wise.