Find dead/unused code in the solution
After some time certain parts of code i n a project end up not being used anymore and just waste screen estate. It would be handy if Visual Studio could detect this and warn you about it.
Creating a new solution or adding scaffolding for new objects in a solution is great, but it does not address the large amount of existing code.
Static analysis is an effective method of delivering higher quality systems in less time at lower cost.
Nick Lechnowskyj commented
Sounds like if you had Resharper you'd have 99% of the future requests you're going to suggest on here.
CodePal Dave commented
Would like it if VS automatically showed a warning about methods where the reference count was zero.
Carlos López commented
There's a plugin, ReSharper, that already do this, but would be nice to have it out of the box
I believe visual studio already alerts of unreachable code in c#
Christian Schiffer commented
As an overall suggestion, this probably belongs on the Visual Studio UserVoice forum. But specifically finding dead/unused JS/CSS would be helpful, too.
Are you thinking of JS and CSS code in particular?