angular-template-formatter
angular-template-formatter copied to clipboard
Only format the attributes that exceed a specified line length
Expanding each attribute to a new line can make a file very long. It would be nice to only wrap the attributes that exceed the line length
Example
Before
<div>
<div>
<mat-table [dataSource]="dataSource">
<ng-container matColumnDef="name">
<mat-header-cell *matHeaderCellDef name="some really long string value">
Column name
</mat-header-cell>
</mat-table>
</div>
</div>
After
<div>
<div>
<mat-table [dataSource]="dataSource">
<ng-container matColumnDef="name">
<mat-header-cell *matHeaderCellDef
name="some really long string value">
Column name
</mat-header-cell>
</mat-table>
</div>
</div>