scastie icon indicating copy to clipboard operation
scastie copied to clipboard

Worksheet output, impossible to clear error message

Open heathermiller opened this issue 7 years ago • 2 comments

After I cause a legitimate error in my scastie worksheet, I can't get the compile error output to get out of my way until I run again and it compiles. It's particularly annoying when I have a method or something and the output pops up right in the middle of it. Typically I want to edit it my method body and it's smack in my way.

I can't make this error go away. I have to either clear all of my code, or I have to make this compile. But when I want to edit this snippet, the error message is stuck in the middle of the code is annoying: screen shot 2017-03-03 at 10 20 45 pm

Would be nice if there was a way to clear the error messages in the middle of the code in the worksheet mode somehow.

heathermiller avatar Mar 03 '17 21:03 heathermiller

if you press clear (eraser or esc) compiler infos are cleared

MasseGuillaume avatar Mar 04 '17 13:03 MasseGuillaume

I just tried it, and indeed you're right. I'm happy about the escape button. Though pressing the clear button is a bit confusing – I think most people would think that pressing clear would clear the code (because it does do that sometimes.)

Perhaps we should make a little x in the right corner of the error messages or something to make it more obvious how to clear them?

(Escape is nice, but it's not obvious, and the clear button can be confusing)

heathermiller avatar Mar 04 '17 13:03 heathermiller