Reporter | Yacoub Massad (yacoubmassad) |
---|---|
Created | Apr 25, 2018 2:33:52 PM |
Updated | Apr 25, 2018 2:34:07 PM |
Subsystem | No Subsystem |
Assignee | Unassigned |
Priority | Normal |
State | Submitted |
Type | Feature |
Fix version | No Fix versions |
Affected versions | No Affected versions |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Resharper is helpful in importing not-yet-imported namespaces for types used in a source file.
If a type is nested inside a static class and you use Resharper to import the namespace, the namespace will be imported. However, the type itself will be ParentStaticClassName.TypeName
. Although there is nothing inherently wrong with this, I prefer to use the new C# import static feature to import the ParentStaticClassName
static class.
Please add a setting in Resharper that automatically imports static parent classes when Reshaper imports namespaces of types.