You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any way to prevent Visual Studio form auto-formatting html onto one line?
For example
<div ng-repeat="item in items"
ng-class="item.classes"
ng-init="i = $index">
</div>
Gets auto-formatted to:
<div ng-repeat="item in items" ng-class="item.classes" ng-init="i = $index">
</div>
This seems unreasonably opinionated, especially since many frameworks these days take advantage of element attributes. It's not nice to have 5+ attributes on one line and is the reason I've avoided auto-formatting my html, as much as I would REALLY like to be able to.
The text was updated successfully, but these errors were encountered:
aeschli
changed the title
Prevent single line auto-formatting for html attributes
[html] Prevent single line auto-formatting for html attributes
Apr 1, 2016
Is there any way to prevent Visual Studio form auto-formatting html onto one line?
For example
Gets auto-formatted to:
This seems unreasonably opinionated, especially since many frameworks these days take advantage of element attributes. It's not nice to have 5+ attributes on one line and is the reason I've avoided auto-formatting my html, as much as I would REALLY like to be able to.
The text was updated successfully, but these errors were encountered: