Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save apoorvalal/cc24ced7fb7ed478bdf06df3abf39a0d to your computer and use it in GitHub Desktop.
Save apoorvalal/cc24ced7fb7ed478bdf06df3abf39a0d to your computer and use it in GitHub Desktop.
Count total code lines in project using Sublime texteditor
// find->find in files
// Switch on reg_ex button
// Find:
^(.*)$
// Where:
c:\your_folder\,*.py,*.r,*.sh,*.do,*.md, -*/folder_to_exclude/*
// Then click on the find button
// 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