ReSharper 2025.3 ヘルプ

VB.NET の EditorConfig プロパティ: 空白行

既存のフォーマットを保持する

最大の空白行を宣言で保持する

プロパティ名:

[resharper_]vb_keep_blank_lines_in_declarations , [resharper_]keep_blank_lines_in_declarations

使用可能な値:

整数

例:

フォーマット前

フォーマット後 value: 0

Class SomeClass Public Sub Foo1() End Sub Public Sub Foo2() End Sub End Class
Class SomeClass Public Sub Foo1() End Sub Public Sub Foo2() End Sub End Class

フォーマット前

フォーマット後 value: 1

Class SomeClass Public Sub Foo1() End Sub Public Sub Foo2() End Sub End Class
Class SomeClass Public Sub Foo1() End Sub Public Sub Foo2() End Sub End Class

フォーマット前

フォーマット後 value: 2

Class SomeClass Public Sub Foo1() End Sub Public Sub Foo2() End Sub End Class
Class SomeClass Public Sub Foo1() End Sub Public Sub Foo2() End Sub End Class

最大の空白行をコード内に保持する

プロパティ名:

[resharper_]vb_keep_blank_lines_in_code , [resharper_]keep_blank_lines_in_code

使用可能な値:

整数

例:

フォーマット前

フォーマット後 value: 0

Public Sub Foo() Dim x As Integer Call SomeMethod(x) End Sub
Public Sub Foo() Dim x As Integer Call SomeMethod(x) End Sub

フォーマット前

フォーマット後 value: 1

Public Sub Foo() Dim x As Integer Call SomeMethod(x) End Sub
Public Sub Foo() Dim x As Integer Call SomeMethod(x) End Sub

フォーマット前

フォーマット後 value: 2

Public Sub Foo() Dim x As Integer Call SomeMethod(x) End Sub
Public Sub Foo() Dim x As Integer Call SomeMethod(x) End Sub

空白行

ファイルオプションの後のセクション

プロパティ名:

[resharper_]vb_blank_lines_after_options , [resharper_]blank_lines_after_options

使用可能な値:

整数

例:

値: 0

Option Strict On Option Explicit Off Imports System

値: 1

Option Strict On Option Explicit Off Imports System

値: 2

Option Strict On Option Explicit Off Imports System

インポートセクションの後

プロパティ名:

[resharper_]vb_blank_lines_after_imports , [resharper_]blank_lines_after_imports

使用可能な値:

整数

例:

値: 0

Imports System Namespace N End Namespace

値: 1

Imports System Namespace N End Namespace

値: 2

Imports System Namespace N End Namespace

グローバル属性の後

プロパティ名:

[resharper_]vb_blank_lines_around_global_attribute , [resharper_]blank_lines_around_global_attribute

使用可能な値:

整数

例:

値: 0

<Assembly: AssemblyTitle("")> <Assembly: AssemblyDescription("")>

値: 1

<Assembly: AssemblyTitle("")> <Assembly: AssemblyDescription("")>

値: 2

<Assembly: AssemblyTitle("")> <Assembly: AssemblyDescription("")>

名前空間の周囲

プロパティ名:

[resharper_]vb_blank_lines_around_namespace , [resharper_]blank_lines_around_namespace

使用可能な値:

整数

例:

値: 0

Namespace N1 End Namespace Namespace N2 End Namespace

値: 1

Namespace N1 End Namespace Namespace N2 End Namespace

値: 2

Namespace N1 End Namespace Namespace N2 End Namespace

型の周囲

プロパティ名:

[resharper_]vb_blank_lines_around_type , [resharper_]blank_lines_around_type

使用可能な値:

整数

例:

値: 0

Class C1 End Class Class C2 End Class

値: 1

Class C1 End Class Class C2 End Class

値: 2

Class C1 End Class Class C2 End Class

複数行フィールドの周囲

プロパティ名:

[resharper_]vb_blank_lines_around_field , [resharper_]blank_lines_around_field

使用可能な値:

整数

例:

値: 0

Class C Public Dim x As Integer, y As Integer Public Dim i As String, j As String End Class

値: 1

Class C Public Dim x As Integer, y As Integer Public Dim i As String, j As String End Class

値: 2

Class C Public Dim x As Integer, y As Integer Public Dim i As String, j As String End Class

一行辺りのフィールド

プロパティ名:

[resharper_]vb_blank_lines_around_single_line_field , [resharper_]blank_lines_around_single_line_field

使用可能な値:

整数

例:

値: 0

Class C Public Dim x As Integer Public Dim i As String End Class

値: 1

Class C Public Dim x As Integer Public Dim i As String End Class

値: 2

Class C Public Dim x As Integer Public Dim i As String End Class

複数行メソッドの周囲

プロパティ名:

[resharper_]vb_blank_lines_around_invocable , [resharper_]blank_lines_around_invocable

使用可能な値:

整数

例:

値: 0

Class C Sub Foo1 End Sub Sub Foo2 End Sub End Class

値: 1

Class C Sub Foo1 End Sub Sub Foo2 End Sub End Class

値: 2

Class C Sub Foo1 End Sub Sub Foo2 End Sub End Class

単一行メソッドの周囲

プロパティ名:

[resharper_]vb_blank_lines_around_single_line_invocable , [resharper_]blank_lines_around_single_line_invocable

使用可能な値:

整数

例:

値: 0

Interface I Sub Foo1 Sub Foo2 End Interface

値: 1

Interface I Sub Foo1 Sub Foo2 End Interface

値: 2

Interface I Sub Foo1 Sub Foo2 End Interface

領域の周囲

プロパティ名:

[resharper_]vb_blank_lines_around_region , [resharper_]blank_lines_around_region

使用可能な値:

整数

例:

値: 0

Class C Dim x as Integer #Region "Description" Dim y as Integer #End Region Dim z as Integer End Class

値: 1

Class C Dim x as Integer #Region "Description" Dim y as Integer #End Region Dim z as Integer End Class

値: 2

Class C Dim x as Integer #Region "Description" Dim y as Integer #End Region Dim z as Integer End Class

領域の内側

プロパティ名:

[resharper_]vb_blank_lines_inside_region , [resharper_]blank_lines_inside_region

使用可能な値:

整数

例:

値: 0

Class C Dim x as Integer #Region "Description" Dim y as Integer #End Region Dim z as Integer End Class

値: 1

Class C Dim x as Integer #Region "Description" Dim y as Integer #End Region Dim z as Integer End Class

値: 2

Class C Dim x as Integer #Region "Description" Dim y as Integer #End Region Dim z as Integer End Class
2024 年 5 月 26 日