2
How to enable line breaking within tags HTML to look like this?
<input
class="someClass"
id="someId"
name="someName"
ng-model="vm.model"
ng-click="vm.someAction()"/>
When format the text in Visual Code (Alt+Shift+F) it leaves the HTML tags this way:
<input class="someClass" id="someId" name="someName" value="someValue" ng-model="vm.model" ng-click="vm.someAction"/>
It removes all line breaks that I had inserted. In Netbeans I don’t have this problem. I already changed the Code settings, downloaded extensions and nothing works.
B. Maríclio > Referring to the break of lines in question of > HTML, is not "good use" do this with the text tag "code". Therefore Visual Code Studio breaks the way you’re talking. >If you notice, every programming language you > make in Visual Code it breaks the lines according to the "good use > of the code".
– Thiago De Bonis