Is there a way to make VS Code stop breaking HTML tags before > on a new line? As you can see on the picture the tag is breaking/wrapping on a next line just after the > . I'm Using Prettier - Code formatter.
You could try adding this line to your settings.json file
{ "html.format.wrapAttributes": "force-aligned" }
2.1m questions
2.1m answers
60 comments
57.0k users