如何在 .editorconfig 的嵌套范围内为 CSharp 编辑器选择完全限定的 "using name"

How to prefer fully qualified "using name" at nested scope in .editorconfig for CSharp editor

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

using myproject.management.control.common;

而不是

using control.common;

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

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

.editorconfig中的flag如下:

csharp_qualified_using_at_nested_scope = true

只需将其设置为 true