Code Style. ASP.NET (Razor)
This page helps you configure a number of settings that control how JetBrains Rider generates new ASP.NET code and how it reformats existing code. You can adjust the values and check the preview pane at the bottom of the page to see how your preferences affect the code.
The options that you configure on this page apply in the following cases:
When code is automatically formatted on editing or after pasting (you can toggle auto-formatting on the page of JetBrains Rider settings Ctrl+Alt+S.
When you reformat existing code.