csharp_keep_existing_linebreaks
Preservation mode. Defaults to true when max_line_length is off.
| Value | Notes |
|---|---|
true |
|
false |
Default: (derived from max_line_length)
csharp_keep_existing_linebreaks = true
using System.Text;
namespace N;
public class Widget
{
public string Build()
{
return new StringBuilder().Append("Hello").Append(", ").Append("World").Append("!").ToString();
}
}
using System.Text;
namespace N;
public class Widget
{
public string Build()
{
return new StringBuilder().Append("Hello").Append(", ").Append("World").Append("!").ToString();
}
}
csharp_keep_existing_linebreaks = false
using System.Text;
namespace N;
public class Widget
{
public string Build()
{
return new StringBuilder().Append("Hello").Append(", ").Append("World").Append("!").ToString();
}
}
using System.Text;
namespace N;
public class Widget
{
public string Build()
{
return new StringBuilder().Append("Hello").Append(", ").Append("World").Append("!").ToString();
}
}