Reputation: 698
I recently upgraded JetBrains Rider (from 2023.3.6 to 2024.3.5), and now my Blazor/Razor (.razor) files are incorrectly formatted when I use the built-in code formatter (Ctrl+Alt+L / ⌘+⌥+L on macOS). Before the upgrade the formatting was like this
<SomeComponent>
<DataAnnotationsValidator />
</SomeComponent>
@code {
[Parameter]
public int SupplierId { get; set; }
}
After the upgrade I get this
<SomeComponent>
<DataAnnotationsValidator/>
</SomeComponent>
@code {
[Parameter]
public int SupplierId { get; set; }
}
Did anyone else have this problem and how did you solve it?
Upvotes: 0
Views: 22