Has anyone got an example of prettierd working in ST?
jsprettier works well but there are noticable delays on even small files.
Has anyone got an example of prettierd working in ST?
jsprettier works well but there are noticable delays on even small files.
No, but it could be possible to make an LSP plugin with it. I will try to at least.
Full disclosure, I haven’t even tried yet - the documentation suggests you should be able to plug prettierd into the executable path in place of prettier in your settings file and I was hoping someone had a recipe for that / confirmed they’d done it for ST. I’ll take a plugin solution any time though
As it is I’ve stopped doing format on save automatically and just manually sweep through changed files just before completing my PRs
Maybe disabled this https://github.com/jonlabelle/SublimeJsPrettier/blob/2ff0bf26126c4824c4a579606e14076f4f66dd19/JsPrettier.sublime-settings#L205-L231
Thanks to all the answers and alternatives here.
I’ve abandoned the development VM I had setup as I couldn’t get going with any of the alternative suggestions and there seemed to be other non-Sublime issues in my setup I couldn’t get to the bottom of.
I’m rebuilding on a dedicated laptop and will try again when that’s done.