Best way to display errors to the user?


#1

I have an [atom package] (https://atom.io/packages/js2coffee) that converts js to coffeescript.

Right now if the JS you try to convert is invalid it simply writes an error the js console, which isn’t very helpful.

What’s a better solution?


#2

This is something we haven’t implemented yet. Currently we log an error to the console like you are or we show a dialog using atom.confirm

I think a better solution would be to add a error tool-panel to the top of the window that will be dismissed when core:cancel is triggered.