Count Total Code Lines in Project Using Sublime Text Editor

Go to Menu or Right Click The Project Directory:
Find -> Find in Files (windows: ctrl+shift+f)

right-click the main project folder

Switch on the reg_ex button (windows: alt+r)


Find:

^.\S+.$

Where:

c:\your_folder\,.php,.js,.inc,.html,.htm,.scss, -/folder_to_exclude/, -*.min.js

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:
7061 matches across 154 files
This is your line count.

you see the total file and line number of your project

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)