I would prefer the following
using Truncating.Long.Using.Namespace.Xxx;
Visual Studio 2015, does the following
using Xxx;
I figured out, that I can change the behavior for the code hint (IDE0001) by adjusting "Code Analysis" settings.
But I could not figure out how to STOP the behavior, for the Ctrl-. inserting a missing namespace.
Does anyone have some directions or feedback about this?
I haven't found an option for this natively in Visual Studio, but the Resharper extension provides support for this. It's been an option since version 5, under Code Style, called "Prefer fully qualified using name at nested scope"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With