Visual Studio - Determining Lines No Of Lines of code in a project - is this possible in VS 2008?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I find SlickEdit gadgets SLOC report to be very good and FREE! :)
Breaks down comments/lines of code etc.
Kindness,
Dan
回答2:
there is no direct way from vs2008 to do it, but you can use extended tools such as:
C# and VB.NET Line Count Utility
回答3:
TeamSuite will report this value as part of it's code metrics along with other, perhaps more valuable, statistics.
回答4:
You can use Project Line Counters add-ins available from from Code Project -
- Line Counter - Writing a Visual Studio 2005 & 2008 Add-In
- Project Line Counter Add-In v2.10 for VS.NET and VC6