Blank Lines

Controls the maximum number of consecutive blank lines Curb allows between declarations and between statements, and how many blank lines it enforces around namespaces, types, methods, properties, and fields.

csharp_blank_lines_after_block_statements
Blank lines below one of those statements. Defaults to `0`
csharp_blank_lines_after_case
Blank lines below a section's labels, above its first statement. Defaults to `0`
csharp_blank_lines_after_control_transfer_statements
Blank lines below one of those statements. Defaults to `0`
csharp_blank_lines_after_file_scoped_namespace_directive
Blank lines after a file-scoped namespace declaration. Defaults to `1`
csharp_blank_lines_after_using_list
Blank lines below the last using directive, forced exactly rather than floored. Defaults to `1`
csharp_blank_lines_around_accessor
Blank lines between two accessors of the same property, indexer or event. Defaults to `0`
csharp_blank_lines_around_field
Blank lines before and after each field. Defaults to `0`
csharp_blank_lines_around_invocable
Blank lines before and after each method or constructor. 0 means leave the author's. Defaults to `0`
csharp_blank_lines_around_local_method
Blank lines before and after each local function. Defaults to `1`
csharp_blank_lines_around_namespace
Blank lines before and after a namespace declaration. Defaults to `0`
csharp_blank_lines_around_property
Blank lines before and after each property, indexer or event. Defaults to `0`
csharp_blank_lines_around_region
Blank lines before a #region and after its matching #endregion, forced exactly rather than floored. Defaults to `1`
csharp_blank_lines_around_type
Blank lines before and after each type declaration. Defaults to `1`
csharp_blank_lines_before_block_statements
Blank lines above an if/while/for/foreach/do/switch/using/lock/try statement. Defaults to `0`
csharp_blank_lines_before_case
Blank lines above a switch section's first label. Defaults to `0`
csharp_blank_lines_before_control_transfer_statements
Blank lines above a return/throw/break/continue/goto/yield statement. Defaults to `0`
csharp_blank_lines_before_single_line_comment
Blank lines above a // comment that follows real content. Defaults to `0`
csharp_blank_lines_inside_namespace
Blank lines below the opening brace and above the closing brace of a block-scoped namespace, forced exactly rather than floored. Defaults to `0`
csharp_blank_lines_inside_region
Blank lines below a #region and above its matching #endregion, forced exactly rather than floored. Defaults to `1`
csharp_blank_lines_inside_type
Blank lines below the opening brace and above the closing brace of a type, forced exactly rather than floored. Defaults to `0`
csharp_keep_blank_lines_in_code
Maximum consecutive blank lines between statements. Defaults to `1`
csharp_keep_blank_lines_in_declarations
Maximum consecutive blank lines between members. Defaults to `1`
csharp_remove_blank_lines_near_braces_in_code
The same, for a block's opening and closing braces. Defaults to `true`
csharp_remove_blank_lines_near_braces_in_declarations
Force no blank line directly under a type/namespace's opening brace or above its closing one. Defaults to `true`