dotnet_separate_import_directive_groups

Separate groups of usings by first namespace segment with a blank line.

Value Notes
true Also sorts the usings, System first unless dotnet_sort_system_directives_first says otherwise.
false Still sorts the usings, System first unless dotnet_sort_system_directives_first says otherwise. Leave the key unset to keep them as written.

Default: (not set)

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

Ini
dotnet_sort_system_directives_first = true
dotnet_separate_import_directive_groups = true
C#
using System;
using System.Collections.Generic;
using Baz.Qux;
using Foo.Bar;

namespace N;

public class Widget { }
C#
using System;
using System.Collections.Generic;

using Baz.Qux;

using Foo.Bar;

namespace N;

public class Widget { }
Ini
dotnet_sort_system_directives_first = true
dotnet_separate_import_directive_groups = false
C#
using System;
using System.Collections.Generic;
using Baz.Qux;
using Foo.Bar;

namespace N;

public class Widget { }
C#
using System;
using System.Collections.Generic;
using Baz.Qux;
using Foo.Bar;

namespace N;

public class Widget { }