Runar Ovesen Hjerpbakk

Programmer. Software Architect. Technical Manager.

Sorry, but there is no formatter for 'xml'-files installed.

Sometimes I question my sanity.

I’ve used Visual Studio Code (VS Code) since it was revealed at Build. One of its many useful features is the ability to format documents in a human readable form. This includes XML.

Or so I thought.

Sorry, but there is no formatter for ‘xml’-files installed.

Sorry, but there is no formatter for 'xml'-files installed.

So my VS Code just lost it’s ability to format XML. Good for it, but as I create Enterprise Software (tm) I need my JSON++ formatted dammit!

Luckily, the thriving extension community of VS Code had at least one XML formatter ready for my use.

Format XML documents extension

I used vs-code-xml-format and it formats my XML perfectly.