问题
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
来源:https://stackoverflow.com/questions/1404656/visual-studio-determining-lines-no-of-lines-of-code-in-a-project