Code Style. ASP.NET (Razor)
This page helps you configure a number of settings that control how 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 Rider settings (Ctrl+Alt+S).
- When you produce new code by applying Rider's code templates, code generation features or refactorings.
- When you reformat existing code.