Skip to content
Discussion options

You must be logged in to vote

Hey @alistairjames, so here's the thing: Phoenix code's Beautify feature internally uses Prettier and the issue isn’t with Phoenix but with Prettier itself. @abose has previously discussed this with the Prettier team. If you want, you can read this discussion thread. So there are some ways to fix this, but we are already done for this release, so the fix might not come in this one, but we’ll aim for the February release.
For now, you can avoid this all together: just press Ctrl + A to select the whole file and then press Ctrl + B to beautify. It won't get stuck and will be almost instant. Apologies for the inconvenience.

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@alistairjames
Comment options

@alistairjames
Comment options

@alistairjames
Comment options

@abose
Comment options

abose Dec 9, 2025
Maintainer

Comment options

You must be logged in to vote
1 reply
@alistairjames
Comment options

Answer selected by alistairjames
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants