How to disable prettier settings creating new line of > of html tag?
问题 I walk through the Prettier extension of Vscode and I can't find how to disable this scenario. See the > of html tag. Here's a sample code that needed some fix, every time i run the Prettier. The output is this: <tag-html [val1]="valueStr" [val2]="valueStr" > </tag-html> I want Prettier to output: <tag-html [val1]="valueStr" [val2]="valueStr"> </tag-html> 回答1: This can be done with help of VS Code itself. Place the following entry in your workspace settings in your vs code. "html.format