更新时间:2023-01-02 16:48:21
转到 https://plugins.jetbrains.com/idea/plugin/4509-statistic 并安装最新版本
要安装
运行Android Studio
Run Android Studio
从菜单栏中,选择File-> Settings
From the menu bar, select File-->Settings
在IDE设置下,单击插件",然后单击从磁盘安装插件"
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
重新启动Android Studio
Restart Android Studio
计算行数
2015年5月21日
如果看不到统计信息选项,请执行以下操作:
If you cannot see the Statistics options, do the following:
从工具栏中选择查看".
Select VIEW from the toolbar.
选择工具窗口".
选择统计信息.
您将看到项目的统计信息,底部是TOTAL部分,显示LINES列下的总行.
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.