How can i count the LOC of a Netbeans PHP-Project?
i´m using Netbeans 7.0.1 on Windows 7
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I haven’t found a way to do that in netbeans (on any OS) but i guess you could get away with something like the following:
Save this little script someplace where you can find it: (lets say “cntln.php”)
and use it on the commandline (cmd.exe):
c:>
php -q cntln.php "C:\projects\foo" "~\.php$~"With some minor trickery I’m sure you can create a shortcut to it that you can put on the quick launch bar or use it in some other tooling.
Might have bugs since I typed it just now, mostly in the SO text box.