ReSharper 2021.1 Help

Code Style

ReSharper | Options | Code Editing | Razor | Syntax Style

Preferences configurable on this page help you enforce code syntax style — how to use interchangeable language syntax constructions. These preferences are taken into account when ReSharper produces new code with code completion and code generation features, applies code templates and performs refactorings. They can also be applied to the existing code by using code cleanup with the corresponding settings.

Use fully qualified names for @inherits and @model directivesIf this checkbox is selected, ReSharper uses fully qualified type names for @inherits and @model directives. For example:
@model MyMvcApplication.Models.LocalPasswordModel
If it is cleared, ReSharper uses non-qualified type names for these directive and adds the necessary @using directives for these types. For example:
@using MyMvcApplication.Models @model LocalPasswordModel
Last modified: 13 July 2021