atom-mprettier icon indicating copy to clipboard operation
atom-mprettier copied to clipboard

Dismiss error messages when formatting succeeds

Open j-f1 opened this issue 7 years ago • 0 comments

Currently, if you save the file when there’s a syntax error in it, mprettier opens a notification that points out the error. However, when saving the document multiple times, the notification duplicates and when the error is fixed, the messages still remain. Would it be possible to keep a reference to the notification and call .dismiss() when formatting again so the notifications don’t pile up?

j-f1 avatar Aug 09 '18 11:08 j-f1