Count Total Lines of code in a Sublime Text Project or Directory

Go to the menu or right-click your project colder:
find->find in files

right-click the project directory and go to Find in Folder




c:\your_folder\,.php,.phtml,.js,.inc,.html, -/folder_to_exclude/

Then click on the Find button
Be careful to not click on Replace!!!
On the bottom line of your search result you’ll find something like:

showing the total lines of code in the project

153201 matches across 1715 files

Leave a Comment