Sometimes in project development will use the total number of statistics project function, today to teach you how to use studio to count the total number of rows:
1. Open the item that you want to count the total number of rows, press and hold ctrl+shift+a(or click help->find Actionin the navigation bar), enter 'find' in the box that pops up, and then find Find in Path, such as
2. Double-click on the text to find input in the box that pops up find in Path \ n, then tick regular expression (regular expression), context select anywhere,
Scope Select Whole Project,file mask Select *.java. (In this case, the number of Java code lines for the project is counted),
3. After clicking the Find button, the system will automatically count the total number of items for you.
All right, I'll write about it here today, and I'd like to see some friends in need.
Android Studio Statistics Project total number of rows