csharp_wrap_before_extends_colon
Put a base list on its own line, colon first, or keep it on the declaration's. Not set, a list the author broke stays broken unless a width decides layout.
| Value | Notes |
|---|---|
true |
|
false |
Default: (not set)
No known case where Curb's output is not a fixed point of dotnet format — see conformance.
csharp_wrap_before_extends_colon = true
namespace N;
public class Widget : Base, IWidget
{
public int X { get; set; }
public void Run()
{
X = X + 1;
}
}
namespace N;
public class Widget
: Base, IWidget
{
public int X { get; set; }
public void Run()
{
X = X + 1;
}
}
csharp_wrap_before_extends_colon = false
namespace N;
public class Widget : Base, IWidget
{
public int X { get; set; }
public void Run()
{
X = X + 1;
}
}
namespace N;
public class Widget : Base, IWidget
{
public int X { get; set; }
public void Run()
{
X = X + 1;
}
}