Eclipse Word / Line Counting Tool

Is there any tool or plugin? CodeBlock has this neat tool that is really good. I wonder if this is available on Eclipse. Thanks.

+4
source share
3 answers

http://metrics.sourceforge.net can execute strings. However, I am not sure of the words.

+2
source

For newlines, use file search and find \ n (with regular expressions enabled) in all the files you want.

For words, you can just do your search query for \ w +

Number is the number of matches! If you need something more interesting, make a more attractive regular expression.

Source: http://www.binaryfrost.com/index.php?/archives/207-Easy-way-to-count-Lines-of-Code-in-Eclipse.html

+1
source

The linear number is always displayed in the lower right corner and on the left if you use the context menu on the left side of the editing window and check the "Show line numbers" box.

Google>: "eclipse counting" shows that many people had the same problem and plugins were developed.

0
source

Source: https://habr.com/ru/post/1307830/


All Articles