ReSharper 8.0 Web Help

ReSharper | Options | Code Editing | Razor | Namespace Imports

By selecting or clearing the check box in this page, you can choose whether ReSharper should use fully qualified names for Razor type import directives. The

Depending on this option, ReSharper uses fully qualified names during the code cleanup and/or when the related refactorings are performed that entail adding or changing namespace import directives. .

Item Description
Use fully qualified names for @inherits and @model directives If this check box is checked, ReSharper uses fully qualified type names for @inherits and @model directives. E.g.:
@model MyMvcApplication.Models.LocalPasswordModel
If it is unchecked, ReSharper uses non-qualified type names for these directive and adds the necessary @using directives for these types. E.g.:
@using MyMvcApplication.Models
@model LocalPasswordModel


ReSharper's settings are saved in settings layers that enable you to have different settings for different solutions as well as to share your settings with your team. To learn more, study the Managing and Sharing Options section.

See Also