ReSharper 2023.3 Help

Syntax Style

ReSharper options: Code Editing | Visual Basic | 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.

Reference qualification

Preferences in this section define the style of namespace imports:

  • Prefer fully qualified references — select this checkbox if you prefer using fully qualified names rather than namespace import directives for imported types.

  • Allow the 'imports' alias directive — selecting this checkbox allows using aliases in namespace import directives, as opposed to fully qualified namespace names.

Last modified: 21 March 2024