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

767 views Asked by At

I want my Visual Studio #CS editor to prefer using fully qualified naming at using statements. So i prefer:

using myproject.management.control.common;

rather than

using control.common;

There is such an option in Resharper "Prefer fully qualified using name at nested scope".

what is the parallel setting for this in the .editorconfig file?

1

There are 1 answers

1
Samer Aamar On BEST ANSWER

the flag in .editorconfig is as follows:

csharp_qualified_using_at_nested_scope = true

just set this to true

See: Rider / Code style and cleanup / Use EditorConfig / EditorConfig properties