Closed
Description
Description
I would like to get the combination of the power of :
"wrap-attributes": "force-aligned",
"wrap-line-length": 120
If my line reaches the wrap-line-length, it should wrap the whole line and align them with the previous line.
Input
The code looked like this before beautification:
<p-dataTable
[value]="data"
[(selection)]="selectedRows"
(selectionChange)="onSelectionChange($event)"
[editable]="editable"
[selectionMode]="settings.selectionMode"
[resizableColumns]="settings.resizable"
[reorderableColumns]="settings.reorderable"
responsive="true"
scrollable="true"
scrollHeight="550px"
[lazy]="settings.lazy"
[totalRecords]="totalRecords"
[paginator]="settings.paginator"
[rows]="settings.paginator?.rowsPerPage || 10">
</p-dataTable>
Expected Output
The code should look like this after beautification with that feature:
<p-dataTable [value]="data" [(selection)]="selectedRows" (selectionChange)="onSelectionChange($event)" [editable]="editable"
[selectionMode]="settings.selectionMode" [resizableColumns]="settings.resizable" [reorderableColumns]="settings.reorderable"
responsive="true" scrollable="true" scrollHeight="550px" [lazy]="settings.lazy" [totalRecords]="totalRecords"
[paginator]="settings.paginator" [rows]="settings.paginator?.rowsPerPage || 10">
</p-dataTable>