Is there any way I can view the total lines of code in each java class in my project?
Looking for something like this for Android Studio.
解决方案
To install
Run Android Studio
From the menu bar, select File-->Settings
Under IDE Settings, click Plugins, and then click Install plugin from disk
Navigate to the folder where you downloaded the plugin and double-click it
Restart Android Studio
To count the lines
Check the statistics option that is visible after installing the
plugin
This option is near the run, debug, gradle console, bottom left corner of Android studio
21/05/2015
If you cannot see the Statistics options, do the following:
Select VIEW from the toolbar.
Select TOOLS Windows.
Choose STATISTICS.
You will see the statistics of your project and at the bottom, there is TOTAL section which displays the total lines under the Column of LINES.