"Import 'X' and other missing references" isn't simplifying using statements.

Hey,

I've had a lot of success with using Resharper on multiple personal and company machines, but upon recently installing the extension on a new machine I've had no shortage of issues with using the `Alt+Enter` shortcut to import namespaces. Between preferring to use namespace aliases, even when two objects share the same namespace or preferring to just state the namespaces inline with declaration. I can't trust the namespace import to correctly format anything.

Is there a setting I can change to stop this happening, or has anyone else had a similar experience?

Before Import:

After Import

0
1 comment

Hello Nathan, thank you for your question. Please try disabling the following option: "ReSharper | Options | Code Editing | C# | Syntax Style | Reference qualification and 'using' directives | Prefer fully qualified references". Is this what you were looking for? Please let me know about the results, thank you!

0

Please sign in to leave a comment.