Lines of Code count for Flex in Eclipse
How to get the SLOC c开发者_如何学Goount for the Flex code in Eclipse? Is there a plug-in similar to "Metrics" for finding information about the Flex porject?
This is the easiest way to count lines of code of any particular language and does not require a plugin.
Steps:
- Click on the root folder of your project
- Right-click and select Search (or Cntl+H)
- In the box "Containing Text" type \n and make sure to select the "Regular Expression" checkbox
- In the "File name patterns" input, type the file extensions of the files you want to include in your count, or click on "Choose" if you are feeling lazy.
- Click "Search"
BAM! Instant line count for your entire project!
These instructions may differ slightly depending on your version of Eclipse, but you should be able to figure it out.
Good luck!
From this question:
http://metrics.sourceforge.net can do lines. I'm not sure about words however.
精彩评论