Re:Ask HN: What extensions/packs of VS Code are must for web...
by vxNsr on Friday November 19, 2021 @11:46AM
(#29279183)
Are you using the default built in beautifier in vscode? Does it allow you to set your preferred styles?
[ Parent
| on HN ]
Re:Ask HN: What extensions/packs of VS Code are must for web...
by Waterluvian on Friday November 19, 2021 @11:50AM
(#29279226)
Python: Black
TypeScript, JavaScript, JSON: Prettier
HTML: Built-in
Rust: rust-analyzer + whatever the formatter is built in to Rust's toolchain.
XML: XML Tools
They all operate using the same API, I think, so setting up `formatOnSave: true` is all I have to do for most of them.