JoshCheek / atom-seeing-is-believing

Seeing is Believing integration for the Atom text editor.
Do What The F*ck You Want To Public License
62 stars 4 forks source link

Warn on displayable error? #31

Open JoshCheek opened 7 years ago

JoshCheek commented 7 years ago

I've been doing nothing b/c it can display the error, but if you have a lot of code in the window, you might wind up missing this, so maybe it should warn on displayable errors, too?

eg here: https://github.com/JoshCheek/atom-seeing-is-believing/blob/63e35c440215702d8b4b68038bbea4ed375e4016/lib/seeing-is-believing.coffee#L75

Really, it depends on how it winds up working for other people in practice, which isn't something I necessarily know :/

JoshCheek commented 6 years ago

Alternatively, It could hi light the line or something. Atom probably has some builtin way to draw attention to a line. To do that, the editor would have to know what line had the error, could add a flag to receive diagnostic on stderr.