ReSharper 2017.1 Help

VB.NET - Spaces

Nearby parentheses

Before invocation parentheses

Property names:

[resharper_]vb_space_before_invocation_parentheses, [resharper_]space_before_invocation_parentheses

Possible values:

true | false

Examples:

true
Call·Foo·(x)
false
Call·Foo(x)

Before empty invocation parentheses

Property names:

[resharper_]vb_space_before_empty_invocation_parentheses, [resharper_]space_before_empty_invocation_parentheses

Possible values:

true | false

Examples:

true
Call·Foo·()
false
Call·Foo()

Before method declaration parentheses

Property names:

[resharper_]vb_space_before_method_parentheses, [resharper_]space_before_method_parentheses

Possible values:

true | false

Examples:

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

Before empty method declaration parentheses

Property names:

[resharper_]vb_space_before_empty_method_parentheses, [resharper_]space_before_empty_method_parentheses

Possible values:

true | false

Examples:

true
Sub·Foo·() End·Sub
false
Sub·Foo() End·Sub

Within invocation parentheses

Property names:

[resharper_]vb_space_within_invocation_parentheses, [resharper_]space_within_invocation_parentheses

Possible values:

true | false

Examples:

true
Call·Foo)
false
Call·Foo(x)

Within empty invocation parentheses

Property names:

[resharper_]vb_space_within_empty_invocation_parentheses, [resharper_]space_within_empty_invocation_parentheses

Possible values:

true | false

Examples:

true
Call·Foo)
false
Call·Foo()

Within method declaration parentheses

Property names:

[resharper_]vb_space_within_method_parentheses, [resharper_]space_within_method_parentheses

Possible values:

true | false

Examples:

true
Sub·FooAs·Integer·) End·Sub
false
Sub·Foo(As·Integer) End·Sub

Within empty method declaration parentheses

Property names:

[resharper_]vb_space_within_empty_method_parentheses, [resharper_]space_within_empty_method_parentheses

Possible values:

true | false

Examples:

true
Sub·Foo) End·Sub
false
Sub·Foo() End·Sub

Before type parameter parentheses

Property names:

[resharper_]vb_space_before_type_parameter_parentheses, [resharper_]space_before_type_parameter_parentheses

Possible values:

true | false

Examples:

true
Sub·Foo·(Of·T1)() End·Sub
false
Sub·Foo(Of·T1)() End·Sub

Within type parameter parentheses

Property names:

[resharper_]vb_space_within_type_parameter_parentheses, [resharper_]space_within_type_parameter_parentheses

Possible values:

true | false

Examples:

true
Sub·Foo·(Of·T1)() End·Sub
false
Sub·Foo·(Of·T1)() End·Sub

Within expression parentheses

Property names:

[resharper_]vb_space_within_expression_parentheses, [resharper_]space_within_expression_parentheses

Possible values:

true | false

Examples:

true
2*)
false
2*(z)

Attributes

Within attribute angles

Property names:

[resharper_]vb_space_within_attribute_angles, [resharper_]space_within_attribute_angles

Possible values:

true | false

Examples:

true
<·Assembly:·AssemblyTitle("")·>
false
<Assembly:·AssemblyTitle("")>

Before attribute target colon

Property names:

[resharper_]vb_space_before_attribute_target_colon, [resharper_]space_before_attribute_target_colon

Possible values:

true | false

Examples:

true
<Assembly·:·AssemblyTitle("")>
false
<Assembly:·AssemblyTitle("")>

After attribute target colon

Property names:

[resharper_]vb_space_after_attribute_target_colon, [resharper_]space_after_attribute_target_colon

Possible values:

true | false

Examples:

true
<Assembly:·AssemblyTitle("")>
false
<Assembly:AssemblyTitle("")>

Arrays

Before array rank parentheses

Property names:

[resharper_]vb_space_before_array_rank_parentheses, [resharper_]space_before_array_rank_parentheses

Possible values:

true | false

Examples:

true
Class·C ··Dim·As·Integer·(,)·{{01},·{23}} End·Class
false
Class·C ··Dim·As·Integer(,)·{{01},·{23}} End·Class

Within array rank parentheses

Property names:

[resharper_]vb_space_within_array_rank_parentheses, [resharper_]space_within_array_rank_parentheses

Possible values:

true | false

Examples:

true
Class·C ··Dim·As·Integer{{01},·{23}} End·Class
false
Class·C ··Dim·As·Integer(,)·{{01},·{23}} End·Class

Within empty array rank parentheses

Property names:

[resharper_]vb_space_within_array_rank_empty_parentheses, [resharper_]space_within_array_rank_empty_parentheses

Possible values:

true | false

Examples:

true
Class·C ··Dim·As·Integer) End·Class
false
Class·C ··Dim·As·Integer() End·Class

Within array initialization braces

Property names:

[resharper_]vb_space_within_array_initialization_braces, [resharper_]space_within_array_initialization_braces

Possible values:

true | false

Examples:

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

Around operations

Assignment operators (=,+=,...)

Property names:

[resharper_]vb_space_around_assignment_op, [resharper_]vb_space_around_binary_operator, [resharper_]space_around_assignment_op, [resharper_]space_around_binary_operator

Possible values:

true | false

Examples:

true
2
false
x=2

Relational operators (<,>,<=,>=)

Property names:

[resharper_]vb_space_around_relational_op, [resharper_]vb_space_around_binary_operator, [resharper_]space_around_relational_op, [resharper_]space_around_binary_operator

Possible values:

true | false

Examples:

true
If·Then·b
false
If·a<Then·b

Additive operators (+,-)

Property names:

[resharper_]vb_space_around_additive_op, [resharper_]vb_space_around_binary_operator, [resharper_]space_around_additive_op, [resharper_]space_around_binary_operator

Possible values:

true | false

Examples:

true
2
false
1+2

Multiplicative operators (*,/,...)

Property names:

[resharper_]vb_space_around_multiplicative_op, [resharper_]vb_space_around_binary_operator, [resharper_]space_around_multiplicative_op, [resharper_]space_around_binary_operator

Possible values:

true | false

Examples:

true
z
false
y*z

Shift operators (<<,>>)

Property names:

[resharper_]vb_space_around_shift_op, [resharper_]vb_space_around_binary_operator, [resharper_]space_around_shift_op, [resharper_]space_around_binary_operator

Possible values:

true | false

Examples:

true
<<·2
false
1<<2

Other

Before ','

Property names:

[resharper_]vb_space_before_comma, [resharper_]space_before_comma

Possible values:

true | false

Examples:

true
Call·Foo(z)
false
Call·Foo(xyz)

After ','

Property names:

[resharper_]vb_space_after_comma, [resharper_]space_after_comma

Possible values:

true | false

Examples:

true
Call·Foo(xyz)
false
Call·Foo(x,y,z)

Around '.'

Property names:

[resharper_]vb_space_around_dot, [resharper_]vb_space_around_member_access_operator, [resharper_]space_around_dot, [resharper_]space_around_member_access_operator

Possible values:

true | false

Examples:

true
System·Console·WriteLine(a)
false
System.Console.WriteLine(a)

Before ':' in label

Property names:

[resharper_]vb_space_before_label_colon, [resharper_]space_before_label_colon

Possible values:

true | false

Examples:

true
10·Call·Foo()
false
10Call·Foo()

Around statement ':'

Property names:

[resharper_]vb_space_around_stmt_colon, [resharper_]space_around_stmt_colon

Possible values:

true | false

Examples:

true
Call·Foo1 ··Call·Foo2 ··Call·Foo3
false
Call·Foo1 ··Call·Foo2 ··Call·Foo3
Last modified: 12 October 2017