Make prettier more robust to offline work and errors (#3434)

Refactors prettier support:

* moves away prettier-related code into a separate module, makes
prettier installation & start phases more type-restricted
* ensures prettier installation and start attempts are capped with a
fixed attempts amount: after it's exceeded, no further attempts to
install and/or start prettier area made
* improves default prettier management, by correctly preserving its
plugin set between (re) installations and always installing the prettier
server part
* slightly improves prettier logging 

Release Notes:

- N/A
a62c4845a9Kirill Bulatov committed on 11/29/2023, 12:02:31 PM· committed by GitHubparents396ecefd921532
8 files changedLine totals unavailable