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.
| Value | Notes |
|---|---|
true |
|
false |
Default: true
No known case where Curb's output is not a fixed point of dotnet format — see conformance.
csharp_remove_blank_lines_near_braces_in_declarations = true
namespace N;
public class Widget
{
private int _x;
public void Run()
{
int a = 1;
Console.WriteLine(a);
}
}
namespace N;
public class Widget
{
private int _x;
public void Run()
{
int a = 1;
Console.WriteLine(a);
}
}
csharp_remove_blank_lines_near_braces_in_declarations = false
namespace N;
public class Widget
{
private int _x;
public void Run()
{
int a = 1;
Console.WriteLine(a);
}
}
namespace N;
public class Widget
{
private int _x;
public void Run()
{
int a = 1;
Console.WriteLine(a);
}
}