ide-haskell-repl icon indicating copy to clipboard operation
ide-haskell-repl copied to clipboard

Highlight errors in messages section

Open freeman42x opened this issue 5 years ago • 2 comments

I had a module which was not compiling and it took me a long time to understand why I could not load it in the REPL. Could you please highlight the error word in red or something equivalent to make it obvious there is an error? See example here:

image

freeman42x avatar Apr 15 '20 19:04 freeman42x

I've tweaked the stylesheet in v0.9.6 a bit, which should hopefully make it a little more readable. As for highlighting, honestly, at some point you have to consider figuring out that ide-haskell thing, since, you know, error highlighting in editor, go-to-error, more-or-less properly highlighted error messages, stuff like that. I'm really not keen on reimplementing all of that in ide-haskell-repl, that would be pointless waste of effort in my opinion.

lierdakil avatar Apr 16 '20 15:04 lierdakil

@lierdakil It would be very useful even if you would just color the word error so it stands out. I have lost quite a lot of time because the error was not obvious. So it definitely sounds like something that would be useful for the users and improving the UX.

freeman42x avatar Apr 16 '20 16:04 freeman42x