Forked from Hexodus/count_total_project_code_lines_in_sublime
Last active
February 16, 2017 09:26
-
-
Save 4leem/f5c6b94136179e35d0a4a97d33215db1 to your computer and use it in GitHub Desktop.
Count total code lines in project using Sublime texteditor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Go to menu: | |
// 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment