开发者

How to know the No. of java files in my workspace in Eclipse?

I have a java project with a lot java files. So, I want to know the number of .java files in m开发者_开发技巧y project in Eclipse. How to know that?


Press Ctrl+Shift+r to show the resources. Then enter *.java and mark all items of the list (Ctrl+a). The list will give you a summary how many resources it has found.


Other way is to search for something in 'File search'(Ctrl+H) with 'File name patterns' as '*.java'. As soon as you hit Search button, it will show you the number of java files on the bottom.

For eg: Scanning file xx of xxxx. Where xxxx will be the number of java files in your project. ;-)


Take a look at JavaNCSS - it provides many relevant code metrics.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜