ReSharper 2025.3 ヘルプ

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

シフト演算子 (<<、>>)

プロパティ名:

[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
2024 年 5 月 26 日