dotnet_separate_import_directive_groups
Separate groups of usings by first namespace segment with a blank line.
| Value | Notes |
|---|---|
true |
|
false |
Default: false
dotnet_separate_import_directive_groups = true
using System;
using System.Collections.Generic;
using Foo.Bar;
using Baz.Qux;
namespace N;
public class Widget { }
using System;
using System.Collections.Generic;
using Foo.Bar;
using Baz.Qux;
namespace N;
public class Widget { }
dotnet_separate_import_directive_groups = false
using System;
using System.Collections.Generic;
using Foo.Bar;
using Baz.Qux;
namespace N;
public class Widget { }
using System;
using System.Collections.Generic;
using Foo.Bar;
using Baz.Qux;
namespace N;
public class Widget { }