VS 2019 Show Potential Fixes (Fully Qualify vs Using)

It only offers to put the full namespace before the class. I want it to put this outside the current class' namespace, so I do not have to use the full namespace name everytime I want to use [TestClass].

I know this setting used to be available, and I assume I have turned it off by accident.

Potential Fixes example

As mentioned by Amy, I want it to add a 'using' statement at the top of the class instead.

using Microsoft.Vs.Test;

Upvotes: 0

Views: 559

Answers (1)

Kevin Kouketsu
Kevin Kouketsu

Reputation: 826

Maybe it's a problem with some modules of Visual Studio. I remember having this problem but a couple of moments before that I saw a crash on the toolbar of VS.

Just restarting the Visual Studio solved the problem for me.
Maybe you can report to VS Team.

Upvotes: 2

Related Questions