https://marketplace.visualstudio.com/items/fabianlauer.vs-code-xml-format
A simple wrapper around https://github.com/FabianLauer/tsxml/ for formatting XML in VS Code. Currently, only complete documents can be formatted. Formatting selections is planned.
Open an XML document, press Ctrl+Alt+P and enter 'Format Code'.
MIT (see LICENSE
file in source code repo).