You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be sweet if there was a way to format the code using Prettier or something similar by pressing Alt+Shift+F.
As of now, my code in the REPL can get pretty gnarly.
It would be sweet if there was a way to format the code using
Prettier
or something similar by pressingAlt
+Shift
+F
.As of now, my code in the REPL can get pretty gnarly.
I started working on something using
prettier/standalone
, but it's far from production ready.Maybe people who are smarter than me want to take a crack at it.
https://github.com/thebells1111/svelte-prettier-browser-plugin-demo
And here's the demo deployed:
It's a little slow to load, maybe because prettier/standalone is so large. Probably needs to be changed to a webworker or something.
https://5f9c73ded4709a39fed50575--frosty-meninsky-8c72bd.netlify.app/
The text was updated successfully, but these errors were encountered: