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.
dotnet_sort_system_directives_first = true
dotnet_separate_import_directive_groups = true
using System;
using System.Collections.Generic;
using Baz.Qux;
using Foo.Bar;
namespace N;
public class Widget { }
using System;
using System.Collections.Generic;
using Baz.Qux;
using Foo.Bar;
namespace N;
public class Widget { }
dotnet_sort_system_directives_first = true
dotnet_separate_import_directive_groups = false
using System;
using System.Collections.Generic;
using Baz.Qux;
using Foo.Bar;
namespace N;
public class Widget { }
using System;
using System.Collections.Generic;
using Baz.Qux;
using Foo.Bar;
namespace N;
public class Widget { }