如何在CSharp编辑器的.editorconfig中的嵌套范围内首选完全限定的“使用名称”

问题描述

我希望我的Visual Studio #CS编辑器更喜欢在using语句中使用完全限定的命名。 所以我更喜欢:

using myproject.management.control.common;

而不是

using control.common;

Resharper中有一个这样的选项“在嵌套范围内使用名称优先选择完全合格的名称”。

.editorconfig文件中对此的并行设置是什么?

解决方法

.editorconfig中的标志如下:

csharp_qualified_using_at_nested_scope = true

只需将此设置为 true