Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Incorrect Code Formatting for Blazor/Razor Files in JetBrains Rider After Upgrade

$
0
0

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?


Viewing all articles
Browse latest Browse all 4839

Trending Articles