Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only format the attributes that exceed a specified line length #15

Open
nakhbari opened this issue Oct 11, 2018 · 0 comments
Open

Only format the attributes that exceed a specified line length #15

nakhbari opened this issue Oct 11, 2018 · 0 comments

Comments

@nakhbari
Copy link

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant