How do i remove references in visual code

I have these grayed out "references all through the code. Is there a way to shut them off.

Have a look at it here:

How to disable codelens in VS code? - Stack Overflow

If you are talking about the ‘usings’ at the top, you should be able to right-click on the line and select some menu option like ‘Remove and Sort Usings’ (I don’t use VSCode, this is the option in Visual Studio). It will remove the unused usings from the file.

Thanks Guys: That worked.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms