VB.NET - Line Breaks
Preserve Existing Formatting
Keep existing line breaks
Property names:
[resharper_]vb_keep_user_linebreaks
, [resharper_]keep_user_linebreaks
Possible values:
true | false
Examples:
Attributes
Place type attribute on same line
Property names:
[resharper_]vb_place_type_attribute_on_same_line
, [resharper_]place_type_attribute_on_same_line
Possible values:
true | false
Examples:
Place method attribute on same line
Property names:
[resharper_]vb_place_method_attribute_on_same_line
, [resharper_]place_method_attribute_on_same_line
Possible values:
true | false
Examples:
Place property attribute on same line
Property names:
[resharper_]vb_place_property_attribute_on_same_line
, [resharper_]place_property_attribute_on_same_line
Possible values:
true | false
Examples:
Place event attribute on same line
Property names:
[resharper_]vb_place_event_attribute_on_same_line
, [resharper_]place_event_attribute_on_same_line
Possible values:
true | false
Examples:
Place field attribute on same line
Property names:
[resharper_]vb_place_field_attribute_on_same_line
, [resharper_]place_field_attribute_on_same_line
Possible values:
true | false
Examples:
true |
Class·C
··<SomeAttribute>·Dim·x·As·Integer
End·Class |
false |
Class·C
··<SomeAttribute>
··Dim·x·As·Integer
End·Class |
Line Wrapping
Right margin (columns)
Property names:
vb_max_line_length
, max_line_length
Right margin (columns)
Possible values:
an integer
Wrap formal parameters
Property names:
[resharper_]vb_wrap_parameters_style
, [resharper_]wrap_parameters_style
Possible values:
Examples:
Prefer wrap before "(" in method declaration
Property names:
[resharper_]vb_wrap_before_declaration_lpar
, [resharper_]wrap_before_declaration_lpar
Possible values:
true | false
Examples:
true |
Sub·Foo·_
··(p1·As·Integer,·p2·As·Integer,
···p3·As·Integer)
End·Sub |
false |
Sub·Foo(p1·As·Integer,·p2·As·Integer,
········p3·As·Integer)
End·Sub |
Wrap invocation arguments
Property names:
[resharper_]vb_wrap_arguments_style
, [resharper_]wrap_arguments_style
Possible values:
Examples:
Prefer wrap before "(" in invocation
Property names:
[resharper_]vb_wrap_before_invocation_lpar
, [resharper_]wrap_before_invocation_lpar
Possible values:
true | false
Examples:
true |
SomeMethod·_
··(arg1,·arg2,·arg3,·arg4,
···arg5) |
false |
SomeMethod(arg1,·arg2,·arg3,
···········arg4,·arg5) |
Wrap extends/implements/handles list
Property names:
[resharper_]vb_wrap_extends_list_style
, [resharper_]wrap_extends_list_style
Possible values:
Examples:
Wrap multiple declarations list
Property names:
[resharper_]vb_wrap_multiple_declaration_style
, [resharper_]wrap_multiple_declaration_style
Possible values:
Examples:
Prefer wrap before operator in binary expression
Property names:
[resharper_]vb_wrap_before_binary_opsign
, [resharper_]wrap_before_binary_opsign
Possible values:
true | false