How to get source code line count

General questions regarding the usage of CodeLite
foxmuldr
CodeLite Expert
Posts: 120
Joined: Sun May 10, 2009 6:56 am
Contact:

How to get source code line count

Post by foxmuldr »

How can I get the source code line count of a workspace?
Best regards,
Rick C. Hodgin
www.Visual-FreePro.org
www.LibSF.org
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to get source code line count

Post by eranif »

Hi,

I am not sure what are you referring to .. can you please elaborate?

Eran
Make sure you have read the HOW TO POST thread
foxmuldr
CodeLite Expert
Posts: 120
Joined: Sun May 10, 2009 6:56 am
Contact:

Re: How to get source code line count

Post by foxmuldr »

eranif wrote:I am not sure what are you referring to .. can you please elaborate?
Not all IDEs provide it natively by default, most are by plugin, but some ability to right-click on a file, project or workspace container and choose "Statistics..." or something which shows the number of source code lines contained within.

It would go through and count source code line totals, comment lines, blank lines, etc., and give the results.
Best regards,
Rick C. Hodgin
www.Visual-FreePro.org
www.LibSF.org
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: How to get source code line count

Post by eranif »

foxmuldr wrote:It would go through and count source code line totals, comment lines, blank lines, etc., and give the results.
Ah, nice idea, but codelite does not have this feature available

Eran
Make sure you have read the HOW TO POST thread
jfouche
CodeLite Guru
Posts: 351
Joined: Mon Oct 20, 2008 7:26 pm
Genuine User: Yes
IDE Question: C++
Location: France
Contact:

Re: How to get source code line count

Post by jfouche »

Hi

You can have a look to cccc.

You can also give a look here.
Jérémie
foxmuldr
CodeLite Expert
Posts: 120
Joined: Sun May 10, 2009 6:56 am
Contact:

Re: How to get source code line count

Post by foxmuldr »

jfouche wrote:You can have a look to cccc.

You can also give a look here.
Cccc was exactly what I was looking for. A very handy utility. Thanks!
Best regards,
Rick C. Hodgin
www.Visual-FreePro.org
www.LibSF.org
Post Reply