DotJoshJohnson / vscode-xml

XML Tools for Visual Studio Code
MIT License
324 stars 86 forks source link

Setting as default formatter in VS Code #348

Open Bow2Jesus opened 3 years ago

Bow2Jesus commented 3 years ago

Selecting "XML Tools" in "Select Default Formatter..." does nothing. I had to edit the settings.json file and add this to make it the default.

"[xml]": { "editor.defaultFormatter": "DotJoshJohnson.xml" },

This should not have to be done manually, but should be settable using "Select Default Formatter...". Fixing this will make it easier for people to use this excellent tool.