ReSharper 2017.1 Help

VB.NET - Other

Align Multiline Constructs

Method parameters

Property names:

[resharper_]vb_align_multiline_parameter, [resharper_]align_multiline_parameter

Possible values:

true | false

Examples:

true
Sub·Foo(As·Integer, ········As·String) End·Sub
false
Sub·Foo(As·Integer, ··As·String) End·Sub

Invocation arguments

Property names:

[resharper_]vb_align_multiline_argument, [resharper_]align_multiline_argument

Possible values:

true | false

Examples:

true
Call·SomeMethod(arg1, ················arg2)
false
Call·SomeMethod(arg1, ··arg2)

Implements/handles list

Property names:

[resharper_]vb_align_multiline_implements_list, [resharper_]align_multiline_implements_list

Possible values:

true | false

Examples:

true
false

Expression

Property names:

[resharper_]vb_align_multiline_expression, [resharper_]align_multiline_expression

Possible values:

true | false

Examples:

true
+ ····z
false
+ ··z

Array initializer

Property names:

[resharper_]vb_align_multiline_array_initializer, [resharper_]align_multiline_array_initializer

Possible values:

true | false

Examples:

true
Class·C ··Dim·As·Integer()·{·_ ·························0, ·························1, ·························2 ·······················} End·Class
false
Class·C ··Dim·As·Integer()·{·_ ····0, ····1, ····2 ··} End·Class

Multiple declaration list

Property names:

[resharper_]vb_align_multiple_declaration, [resharper_]align_multiple_declaration

Possible values:

true | false

Examples:

true
Class·C ··Public·Dim·As·Integer·0, ·············As·Integer·0 End·Class
false
Class·C ··Public·Dim·As·Integer·0, ····As·Integer·0 End·Class

Other

Indent "case" from "select"

Property names:

[resharper_]vb_indent_case_from_select, [resharper_]indent_case_from_select

Possible values:

true | false

Examples:

true
Select·Case·x ··Case·0 ····Console.WriteLine("0") ··Case·1 ····Console.WriteLine("1") End·Select
false
Select·Case·x Case·0 ··Console.WriteLine("0") Case·1 ··Console.WriteLine("1") End·Select

Don't indent comments started at first column

Property names:

[resharper_]vb_stick_comment, [resharper_]stick_comment

Possible values:

true | false

Examples:

Before formatting After formatting, true
Namespace·N '·Some·comment ··Class·C ··End·Class End·Namespace
Namespace·N '·Some·comment ··Class·C ··End·Class End·Namespace
Before formatting After formatting, false
Namespace·N '·Some·comment ··Class·C ··End·Class End·Namespace
Namespace·N ··'·Some·comment ··Class·C ··End·Class End·Namespace
Last modified: 4 July 2017