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

Prettier: Format locks Atom up

Open mjoycemilburn opened this issue 5 years ago • 6 comments

File repeatably puts Atom into a cpu loop when formated with Prettier

mjoycemilburn avatar Oct 17 '20 15:10 mjoycemilburn

Can you provide example file?

robwise avatar Oct 20 '20 16:10 robwise

Hi Rob. Thanks for picking this up. My file is attached to issue 919 at https://github.com/prettier/prettier-atom/files/5395894/manager.docx.

Best wishes, MJ

On Tue, 20 Oct 2020 at 17:46, Rob Wise [email protected] wrote:

Can you provide example file?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prettier/prettier-atom/issues/919#issuecomment-712996258, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADIP2IUQTJJMLIVH4CI2Y6TSLW5FTANCNFSM4SUNFVWA .

mjoycemilburn avatar Oct 20 '20 19:10 mjoycemilburn

Facing the same issue with Atom 1.53. I don't have any other on save plugins. For me, sometimes it is able to recover in a few seconds. I noticed that in busy-signal it is only showing it as working for 172ms. So I think there is some other place it is hanging up. I'll try to debug more on weekend.

utkarshgupta137 avatar Nov 18 '20 17:11 utkarshgupta137

Prettier should be able to run asynchronously, not freeze the editor until it's done

ThatXliner avatar Nov 27 '21 22:11 ThatXliner

Please keep this open, because AFAIK, this bug still exists.

utkarshgupta137 avatar Nov 29 '21 13:11 utkarshgupta137

OK, but I now find VSCode does everything I need and is a whole lot less trouble. Good luck. MJ

On Mon, 29 Nov 2021 at 13:28, Utkarsh Gupta @.***> wrote:

Please keep this open, because AFAIK, this bug still exists.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/prettier/prettier-atom/issues/919#issuecomment-981634957, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADIP2IW6EHSH7B4VH425A6LUON5XVANCNFSM4SUNFVWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

mjoycemilburn avatar Nov 29 '21 15:11 mjoycemilburn