How to get number of lines of a project in Android Studio?


Is it possible to get the number of lines written in a project in Android Studio (current version is 2.1.1) ? (without using a plugin would be better)


One way is to search (ctrl+shift+F) for line breaks \n with regular expressions enabled and whole project as the scope. If you want to limit the search to only java and xml files, you can use the following file mask *.java, *.xml

Answered By – Urho

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published