ReSharper 2026.1 Help

VB.NET の EditorConfig プロパティ: スペース

近くの括弧

呼び出し丸括弧の前

プロパティ名:

[resharper_]vb_space_before_invocation_parentheses, [resharper_]space_before_invocation_parentheses

使用可能な値:

true | false

例:

true

Call Foo (x)

false

Call Foo(x)

空の呼び出し丸括弧の前

プロパティ名:

[resharper_]vb_space_before_empty_invocation_parentheses, [resharper_]space_before_empty_invocation_parentheses

使用可能な値:

true | false

例:

true

Call Foo ()

false

Call Foo()

メソッド宣言丸括弧の前

プロパティ名:

[resharper_]vb_space_before_method_parentheses, [resharper_]space_before_method_parentheses

使用可能な値:

true | false

例:

true

Sub Foo (x As Integer) End Sub

false

Sub Foo(x As Integer) End Sub

空のメソッド宣言丸括弧の前

プロパティ名:

[resharper_]vb_space_before_empty_method_parentheses, [resharper_]space_before_empty_method_parentheses

使用可能な値:

true | false

例:

true

Sub Foo () End Sub

false

Sub Foo() End Sub

呼び出し丸括弧内

プロパティ名:

[resharper_]vb_space_within_invocation_parentheses, [resharper_]space_within_invocation_parentheses

使用可能な値:

true | false

例:

true

Call Foo( x )

false

Call Foo(x)

空の呼び出し丸括弧内

プロパティ名:

[resharper_]vb_space_within_empty_invocation_parentheses, [resharper_]space_within_empty_invocation_parentheses

使用可能な値:

true | false

例:

true

Call Foo( )

false

Call Foo()

メソッド宣言丸括弧内

プロパティ名:

[resharper_]vb_space_within_method_parentheses, [resharper_]space_within_method_parentheses

使用可能な値:

true | false

例:

true

Sub Foo( x As Integer ) End Sub

false

Sub Foo(x As Integer) End Sub

空のメソッド宣言丸括弧内

プロパティ名:

[resharper_]vb_space_within_empty_method_parentheses, [resharper_]space_within_empty_method_parentheses

使用可能な値:

true | false

例:

true

Sub Foo( ) End Sub

false

Sub Foo() End Sub

型パラメーター丸括弧の前

プロパティ名:

[resharper_]vb_space_before_type_parameter_parentheses, [resharper_]space_before_type_parameter_parentheses

使用可能な値:

true | false

例:

true

Sub Foo (Of T1)() End Sub

false

Sub Foo(Of T1)() End Sub

型パラメーター丸括弧内

プロパティ名:

[resharper_]vb_space_within_type_parameter_parentheses, [resharper_]space_within_type_parameter_parentheses

使用可能な値:

true | false

例:

true

Sub Foo (Of T1)() End Sub

false

Sub Foo (Of T1)() End Sub

式の丸括弧内

プロパティ名:

[resharper_]vb_space_within_expression_parentheses, [resharper_]space_within_expression_parentheses

使用可能な値:

true | false

例:

true

x = 2*( y + z )

false

x = 2*(y + z)

タプル丸括弧内

プロパティ名:

[resharper_]vb_space_within_tuple_parentheses, [resharper_]space_within_tuple_parentheses

使用可能な値:

true | false

例:

true

x = ( 12, 56 )

false

x = (12, 56)

属性

属性山括弧内

プロパティ名:

[resharper_]vb_space_within_attribute_angles, [resharper_]space_within_attribute_angles

使用可能な値:

true | false

例:

true

< Assembly: AssemblyTitle("") >

false

<Assembly: AssemblyTitle("")>

属性ターゲットコロンの前

プロパティ名:

[resharper_]vb_space_before_attribute_target_colon, [resharper_]space_before_attribute_target_colon

使用可能な値:

true | false

例:

true

<Assembly : AssemblyTitle("")>

false

<Assembly: AssemblyTitle("")>

属性ターゲットコロンの後

プロパティ名:

[resharper_]vb_space_after_attribute_target_colon, [resharper_]space_after_attribute_target_colon

使用可能な値:

true | false

例:

true

<Assembly: AssemblyTitle("")>

false

<Assembly:AssemblyTitle("")>

配列

配列ランク丸括弧の前

プロパティ名:

[resharper_]vb_space_before_array_rank_parentheses, [resharper_]space_before_array_rank_parentheses

使用可能な値:

true | false

例:

true

Class C Dim a As Integer (,) = {{0, 1}, {2, 3}} End Class

false

Class C Dim a As Integer(,) = {{0, 1}, {2, 3}} End Class

配列ランク丸括弧内

プロパティ名:

[resharper_]vb_space_within_array_rank_parentheses, [resharper_]space_within_array_rank_parentheses

使用可能な値:

true | false

例:

true

Class C Dim a As Integer( , ) = {{0, 1}, {2, 3}} End Class

false

Class C Dim a As Integer(,) = {{0, 1}, {2, 3}} End Class

空の配列ランク丸括弧内

プロパティ名:

[resharper_]vb_space_within_array_rank_empty_parentheses, [resharper_]space_within_array_rank_empty_parentheses

使用可能な値:

true | false

例:

true

Class C Dim a As Integer( ) End Class

false

Class C Dim a As Integer() End Class

配列初期化中中括弧内

プロパティ名:

[resharper_]vb_space_within_array_initialization_braces, [resharper_]space_within_array_initialization_braces

使用可能な値:

true | false

例:

true

Class C Dim a As Integer(,) = { { 0, 1 }, { 2, 3 } } End Class

false

Class C Dim a As Integer(,) = {{0, 1}, {2, 3}} End Class

オペレーション周辺

代入演算子(「=」や「+=」など)

プロパティ名:

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

使用可能な値:

true | false

例:

true

x = 1 + 2

false

x=1 + 2

比較演算子(<、>、<=、>=)

プロパティ名:

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

使用可能な値:

true | false

例:

true

If a < b Then a = b

false

If a<b Then a = b

加法演算子(+、-)

プロパティ名:

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

使用可能な値:

true | false

例:

true

x = 1 + 2

false

x = 1+2

乗法演算子(「*」や「/」など)

プロパティ名:

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

使用可能な値:

true | false

例:

true

x = y * z

false

x = y*z

Shift 演算子(<<、>>)

プロパティ名:

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

使用可能な値:

true | false

例:

true

x = 1 << 2

false

x = 1<<2

単項演算子の後

プロパティ名:

[resharper_]vb_space_after_unary_op[resharper_]vb_space_after_unary_operator[resharper_]space_after_unary_op[resharper_]space_after_unary_operator

使用可能な値:

true | false

例:

true

x = - 2

false

x = -2

その他

「,」の前

プロパティ名:

[resharper_]vb_space_before_comma, [resharper_]space_before_comma

使用可能な値:

true | false

例:

true

Call Foo(x , y , z)

false

Call Foo(x, y, z)

「,」の後

プロパティ名:

[resharper_]vb_space_after_comma, [resharper_]space_after_comma

使用可能な値:

true | false

例:

true

Call Foo(x, y, z)

false

Call Foo(x,y,z)

「.」の前後

プロパティ名:

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

使用可能な値:

true | false

例:

true

System . Console . WriteLine(a)

false

System.Console.WriteLine(a)

ラベルの「:」の前

プロパティ名:

[resharper_]vb_space_before_label_colon, [resharper_]space_before_label_colon

使用可能な値:

true | false

例:

true

10 : Call Foo()

false

10: Call Foo()

ステートメント「:」の前後

プロパティ名:

[resharper_]vb_space_around_stmt_colon, [resharper_]space_around_stmt_colon

使用可能な値:

true | false

例:

true

Call Foo1 Call Foo2 Call Foo3

false

Call Foo1 Call Foo2 Call Foo3
2026 年 6 月 12 日