How to disable lifelong use?

How (suppose it is possible) to disable the Visual Studio 2015 function before gray unused use (use in C #, import in VB)? I like all other highlighting / syntax / auto compile stuff in VS, I'm only trying to disable this to cross out unused files.

I can’t find an option for this specifically in the VS 2015 menu. If anyone knows about this option, please let us know the location.

+7
c # visual-studio visual-studio-2015
source share
1 answer

You can disable it in stages. Open the links to the project> Analyzers and disable IDE0005 . This will turn off the “visual cue” (grayscale), but you can still choose the quick action “Delete unnecessary entries” if you place the cursor on one of them. Do not think that this can be turned off (and you really shouldn't anyway).

enter image description here


enter image description here

+12
source share

All Articles