Skip to content

Brackets extension: simple lines of code (SLOC) counter for JS code

Notifications You must be signed in to change notification settings

peterflynn/simple-sloc-counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JS Lines of Code Counter (SLOC) for Brackets

Counts the number of JavaScript files, lines, and lines of code (excluding whitespace/comments) in your project. You can exclude third-party code such as jQuery by specifying file / folder names.

To get started, just choose View > Lines of Code Count.

Due to JS regular expression syntax being insane, in rare cases the counter can't be sure whether code is a comment or not. In these cases the file will be omitted from the count and you'll see a warning message.

How to Install

SLOC Counter is an extension for Brackets, a new open-source code editor for the web.

To install extensions:

  1. Choose File > Extension Manager and select the Available tab
  2. Search for this extension
  3. Click Install!

License

MIT-licensed -- see main.js for details.

Compatibility

Brackets 1.0 or newer.

About

Brackets extension: simple lines of code (SLOC) counter for JS code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published