Rider Help

Code Style. ASP.NET (Razor)

File | Settings | Editor | Code Style | ASP.NET (Razor) for Windows and Linux
Rider | Preferences | Editor | Code Style | ASP.NET (Razor) for macOS
Ctrl+Alt+S /help/img/rider/2017.1/settings.png

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:

Last modified: 11 October 2017