JetBrains Rider 2023.1 Help

EditorConfig properties for 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(x As Integer, y As String) End Sub

false

Sub Foo(x As Integer, y 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

Expression

Property names:

[resharper_]vb_align_multiline_expression, [resharper_]align_multiline_expression

Possible values:

true | false

Examples:

true

x = y + z

false

x = y + 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 a As Integer() = { _ 0, 1, 2 } End Class

false

Class C Dim a 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 x As Integer = 0, y As Integer = 0 End Class

false

Class C Public Dim x As Integer = 0, y 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: 27 March 2023