Android Studio is not the ability to provide the full number of lines of statistical code, but for developers, this feature is really necessary, statistic statistics code line is very convenient, also very detailed.
1, first of all must be the plug-in download down,: https://plugins.jetbrains.com/plugin/4509
2, after downloading, we will install the plugin to as above:
After entering the Setup interface setting click Plugins, as shown, shown is the installed plugin name, we will download the plugin installed, click the button below:
After clicking, select the plugins plugin that has been downloaded, and restart the As tool after successful installation, you can use it.
3, first installed in the as View→tool windows→statistic, after selection will appear in the lower left corner of the statistic button:
At the beginning of the content is blank, we click Refresh, if still blank, click on Settings to add the number of rows to count the items.
After clicking Settings, the Settings window will appear, click Add, add the item to be counted code.
The final effect is as shown
Android Studio Code line count plugin statistics