I would like to know how many lines of code are in my project. Is there an automatic line calculator in CCS V5?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Gautam Iyer said:I hope you know that the line number feature is already available in code editor window:
Yes, thanks. I do know about the line numbers. But my project has ~20+ code files which change all the time, and I use a library that has another 20+ files. I would like to have a automatic way of counting line numbers, similar to how Microsoft Word keeps a running total of the number of words in a document. This would be helpful in tracking metrics such as "coded lines per day", etc.
I guess my question should have been "is there an AUTOMATIC wasy to count lines of code in CCS V5?".
Thanks for your response.
Mike,
I have been searching around for an Eclipse plug-in that does it but no luck so far. If you are on Linux there are some commands that you can use but I believe you are on Windows.
One command to try on windows CCS is to go to File Search.
Enter \n[\s]* as the search string and check the regular expression box.
Then enter *.c as the File name pattern
Then in the search window it gives me the count.
Hi Mike and John and Gautam!
Is there any update regarding automated code line counting in CCS? I was searching for this feature in the web and got to your thread here. Would be helpful in my project as well. Thanks in advance.
Dennis