There seems to be a lack of formatting settings for vscode. I want to be able to format html such that my html shows up as:
There are differnt "formatter" extensions, but one I found does a decent job of this exact formatting that you are looking for. It's called "vscode-tidyhtml".
https://marketplace.visualstudio.com/items?itemName=anweber.vscode-tidyhtml
It should format HTML so that attributes are on different lines. I am not sure if it works well for other file types.