Forked from halcarleton/SublimeText-Project-Line-Count
Created
October 3, 2016 13:52
-
-
Save kashifzaidi1/bb52a20c33c6ecfe79c7ddf3a793150c to your computer and use it in GitHub Desktop.
Count total lines of code in a Sublime Text Project or Directory
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... (windows: ctrl+shift+f) | |
| Switch on 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: | |
| 21342 matches in 124 files | |
| This is you line count. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you mate! Worked!