Code Style. ASP.NET (Razor)
File | Settings | Editor | Code Style | ASP.NET (Razor) for Windows and Linux
JetBrains Rider | Settings or Preferences | Editor | Code Style | ASP.NET (Razor) for macOS
CtrlAlt0S
note
Preferences configurable on this page are saved using the mechanism of layer-based settings.
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 Editor | General | Typing Assistance page of JetBrains Rider settings CtrlAlt0S.
When JetBrains Rider produces new code with code completion and code generation features, applies code templates and performs refactorings.
When you reformat existing code.