Visual Studio 2022 not graying out unused javascript variables

Smallweed 1 Reputation point
2022-05-26T09:33:26.097+00:00

Hi - previously in VS2019 any unused javascript variables in a cshtml or js file were grayed out. I've moved onto VS2022 and this is no longer the case. Is there an option I need to turn on as this is really useful?

Thanks

Developer technologies | Visual Studio | Debugging
Developer technologies | Visual Studio | Other
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.