ndmitchell / ghcid

Very low feature GHCi based IDE
Other
1.13k stars 114 forks source link

Display module number #279

Open chshersh opened 5 years ago

chshersh commented 5 years ago

I want to propose a new minor UI feature which can improve UX significantly IMHO.

When building a project with a build tool, I see the module name along with the module number, like this:

[70 of  152] Foo.Bar.Baz

However, when building with ghcid, I don't see this information. Instead, I see:

/home/user/haskell/project/Foo/Bar/Baz.hs:47:52: error:

It would be nice if ghcid also can show the progress of how many files remaining. I think this would be very useful! Something like this:

[70 of  152] Foo.Bar.Baz | error: line 47, col 52
ndmitchell commented 5 years ago

Sounds reasonable. I'd accept a patch. Otherwise likely to go on the back burner.

I wouldn't bother reformatting the error message too much (changing it to line 47 instead of :47), just add the extra information somewhere.