Prettier-style formatting for opening tags
Open
Area-Razor
- Dominant language
- C#
- Stars
- 20.7k
- Forks
- 4.3k
- PR merge metrics
- PR metrics pending
Description
As a follow-up to the new "Attribute indent style" formatting option from dotnet/razor#12700 for dotnet/razor#6551 and dotnet/razor#8413, it would be nice to have the following (or equivalent) settings:
- Put first attribute on new line when opening tag spans more than one line
- Put closing bracket on new line when opening tag spans more than one line
So that this would be untouched:
```razor
```
But this:
```razor
```
Would be formatted to this (assuming the attribute indent style is set to indent by one level):
```razor
```
Contributor guide
Assessment
This issue has not been assessed yet.