max_line_length

Column target for reflow. off disables reflow entirely and selects preservation mode.

Value Notes
off
<integer> Any integer.

Default: off

No known case where Curb's output is not a fixed point of dotnet format — see conformance.

Ini
max_line_length = 80
C#
using System.Text;

namespace N;

public class Widget
{
    public string Build()
    {
        return new StringBuilder().Append("Hello").Append(", ").Append("World").Append("!").ToString();
    }
}
C#
using System.Text;

namespace N;

public class Widget
{
    public string Build()
    {
        return new StringBuilder()
            .Append("Hello")
            .Append(", ")
            .Append("World")
            .Append("!")
            .ToString();
    }
}
Ini
max_line_length = off
C#
using System.Text;

namespace N;

public class Widget
{
    public string Build()
    {
        return new StringBuilder().Append("Hello").Append(", ").Append("World").Append("!").ToString();
    }
}
C#
using System.Text;

namespace N;

public class Widget
{
    public string Build()
    {
        return new StringBuilder().Append("Hello").Append(", ").Append("World").Append("!").ToString();
    }
}