Skip to content

Instantly share code, notes, and snippets.

@Hexodus
Created September 8, 2013 17:06
Show Gist options
  • Save Hexodus/6486504 to your computer and use it in GitHub Desktop.
Save Hexodus/6486504 to your computer and use it in GitHub Desktop.
Count total code lines in project using Sublime texteditor
// Go to menue:
// find->find in files
// Switch on reg_ex button
// Find:
^(.*)$
// Where:
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:
// 21342 matches in 124 files = your lines of code
@ElectricRCAircraftGuy
Copy link

ElectricRCAircraftGuy commented Jan 14, 2018

@jajhonrod1620
Copy link

Thank you very much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment