An updated version of the line count utility described in an earlier article is now available. This now:
- Does basic C++ line counting of Visual Studio.NET projects and solutions, as well as C# and VB.NET as previously.
- Counts the total number of code files and displays them in the summary section.
- Allows the summary to be selected (by dragging over it) and copied to the clipboard with Ctrl-C.
Unfortunately for C++ projects I don’t think there’s an easy way of identifying auto-generated code, and hence the application will always return zero for code-generated lines for C++ projects.
An abbreviated version of these articles is available on the Code Project.