ReSharper 2017.2 Help

Code Style

ReSharper | Options | Code Editing | Razor | Code Style

Preferences configurable on this page 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.

ItemDescription
Override brace style for C# to always use "At end of line (K & R Style)" If this check box is selected, ReSharper will always use Kernighan & Ritchie style brace layout in markup pages regardless of whatever style you’re using in code-behind.
Always remove 'this' qualifier (override the corresponding C# setting) If this check box is selected, ReSharper will always remove this qualifier from members when reformatting your code. Otherwise, this qualifier is treated according to the settings configured on the Code Editing | C# | Code Style page of ReSharper options.
Use fully qualified names for @inherits and @model directives If this check box 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: 14 December 2017

See Also