开发者

Visual Studio - plugin finding/removing dead code?

Anyone knows any free Visual Studio add-in that would find and/or delete dead (unused) code? I saw such possi开发者_StackOverflow社区bility in MZ-Tools, but it's a little expensive as for private use ;)


Depends... For .NET you can use FxCop for finding usused code and variables.


You can also install ReSharper. It generally warns about unused variables and methods in a class file. You can see it as you are coding. It underlines it. It does seem to miss a couple but FxCop did seem to find the rest for me.

UPDATE: Sorry didn't see the FREE part. BUT after using ReSharper for a while it is definitely worth the money.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜