ReSharper 2021.1 Help

VB.NET - Tabs and Indents

Tabs and indents

Indent style

Property names:

indent_style, [resharper_]vb_indent_style

Possible values:

  • tab: Tab

  • space: Spaces

Examples:

tab
Namespace N Class C End Class End Namespace
space
Namespace N Class C End Class End Namespace

Indent size

Property names:

indent_size, [resharper_]vb_indent_size

Possible values:

an integer

Examples:

value: 0
Namespace N Class C End Class End Namespace
value: 1
Namespace N Class C End Class End Namespace
value: 2
Namespace N Class C End Class End Namespace

Tab width

Property names:

tab_width, [resharper_]vb_tab_width

Possible values:

an integer

Examples:

value: 0
Namespace N Class C End Class End Namespace
value: 1
Namespace N Class C End Class End Namespace
value: 2
Namespace N Class C End Class End Namespace

How to align when tabs are used for indents

Property names:

[resharper_]vb_alignment_tab_fill_style, [resharper_]alignment_tab_fill_style

Possible values:

  • use_spaces: Use spaces (looks aligned on any tab size)

  • use_tabs_only: Only use tabs (inaccurate)

  • optimal_fill: Mix tabs and spaces for optimal fill

Last modified: 08 March 2021