geriatricjacob / line-count Goto Github PK
View Code? Open in Web Editor NEWAtom editor package: Show source code line counts for all files in a project.
License: MIT License
Atom editor package: Show source code line counts for all files in a project.
License: MIT License
After ctrl-shift-L and choosing Puppet, ctrl-alt-shift-L in puppet directory reports only py files
Many people including myself use EJS as the view engine for Express. It's very, very similar to HTML and shouldn't take much work to add. It would be awesome to see support for EJS files. The file-extension is .ejs and website is http://ejs.co/.
Hi! Thanks for maintaining the line-count package!
In Atom v1.12, we are going to upgrade CoffeeScript to the latest version. This upgrade entails one potentially breaking change to the language:
Changed strategy for the generation of internal compiler variable names. Note that this means that @example function parameters are no longer available as naked example variables within the function body.
We think your package may be affected by this upgrade, in the following places:
ex
variable hereex
variable hereex
variable hereex
variable hereex
variable hereex
variable hereex
variable hereThese findings are based on linting packages with coffeescope
. We could be wrong about some of them. When we release v1.12 beta, please test your package against it to make sure that it works. Let me know if you have any further questions; I will be happy to help!
Would it be possible to add support for line counting on .jade files as well?
For example I don't want my generated css and .css.map files files to be counted, just my sass files
Please add support for counting the lines in dockerfiles
Expected behavior:
Actual behavior:
Atom: 1.60.0 x64
Electron: 9.4.4
OS: Microsoft Windows 10 Pro
Thrown From: line-count package 0.5.2
Uncaught TypeError: Cannot read property 'getPath' of undefined
At C:\Users\admin\.atom\packages\line-count\lib\line-count.coffee:124
TypeError: Cannot read property 'getPath' of undefined
at Object.open (/packages/line-count/lib/line-count.coffee:124:51)
at /packages/line-count/lib/line-count.coffee:97:71)
at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:352694)
at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:11:351169)
at AtomEnvironment.dispatchContextMenuCommand (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:1:833477)
at EventEmitter.t (~/AppData/Local/atom/app-1.60.0/resources/app/static/<embedded>:1:841531)
at EventEmitter.emit (events.js:223:5)
at Object.onMessage (electron/js2c/renderer_init.js:115:818)
23x -6:40.5.0 core:backspace (input.hidden-input)
3x -5:21.7.0 core:paste (input.hidden-input)
-4:08.5.0 core:backspace (input.hidden-input)
-3:00.0 core:paste (input.hidden-input)
-2:59.2.0 core:backspace (input.hidden-input)
-1:44.3.0 core:paste (div.line)
-0:04.2.0 line-count:open (div.item-views)
aligner-golang 0.1.0
atom-ide-golang 0.1.6
atom-material-syntax 1.0.8
atom-material-ui 2.1.3
atom-rubinius-terminal 0.0.3
git-plus 8.7.1
go-plus 6.1.0
ide-golang 0.0.5
line-count 0.5.2
line-count-status 0.0.3
Counts are in order of source, comments, and total.
Files
-----
292 47 399 Gruntfile.coffee
10 0 15 server.coffee
5855 0 5855 build/404.html
5855 0 5855 build/index.html
5976 0 5976 dev/index.html
1 5 8 build/css/bootstrap.css
1 0 1 build/css/main.css
1 5 6 build/js/bootstrap.js
355 236 738 build/js/fastclick.js
1 0 1 build/js/jade.js
1 0 2 build/js/jquery.history.js
3 1 5 build/js/jquery.js
1 8 10 build/js/jquery.viewport.js
1 0 1 build/js/main.js
387 14 499 build/js/templates.js
1 5 8 dev/css/bootstrap.css
1808 388 2584 dev/css/main.css
1257 188 1952 dev/js/bootstrap.js
355 236 738 dev/js/fastclick.js
122 65 211 dev/js/jade.js
1 0 2 dev/js/jquery.history.js
6166 1488 9191 dev/js/jquery.js
1 8 10 dev/js/jquery.viewport.js
1609 0 1770 dev/js/main.js
387 14 499 dev/js/templates.js
1 5 8 vendor/css/bootstrap.css
9111 1745 12569 vendor/js/JSXTransformer.js
1257 188 1952 vendor/js/bootstrap.js
1 5 6 vendor/js/bootstrap.min.js
355 236 738 vendor/js/fastclick.js
122 65 211 vendor/js/jade.js
6166 1488 9191 vendor/js/jquery-2.1.1.js
3 1 5 vendor/js/jquery-2.1.1.min.js
1 0 2 vendor/js/jquery.history.js
1 0 2 vendor/js/jquery.swipe.js
1 8 10 vendor/js/jquery.viewport.js
9646 7219 18884 vendor/js/react-with-addons.js
4 17 21 vendor/js/react-with-addons.min.js
8771 6647 17228 vendor/js/react.js
4 17 21 vendor/js/react.min.js
1 0 2 app/assets/javascripts/core.coffee
32 0 42 app/assets/javascripts/helpers.coffee
184 0 243 app/assets/javascripts/main.coffee
106 0 134 app/assets/javascripts/promises.coffee
54 0 72 app/assets/javascripts/router.coffee
118 1 152 custom_modules/data-parser/tasks/data-parser.coffee
44 0 63 custom_modules/data-parser/tasks/image-exporter.coffee
37 0 47 app/assets/javascripts/grid/cell.coffee
47 0 66 app/assets/javascripts/grid/grid.coffee
35 0 49 app/assets/javascripts/grid/scrolling.coffee
176 137 377 app/assets/javascripts/mixins/core.coffee
42 2 57 app/assets/javascripts/transitions/core.coffee
4 0 5 app/assets/javascripts/widgets/back_to_top.coffee
94 62 202 app/assets/javascripts/widgets/core.coffee
10 0 13 app/assets/javascripts/widgets/drawer.coffee
16 0 20 app/assets/javascripts/widgets/enlarge.coffee
13 2 20 app/assets/javascripts/widgets/image_loading.coffee
5 0 6 app/assets/javascripts/widgets/navigation_links.coffee
1 0 2 app/assets/javascripts/widgets/popover.coffee
35 0 51 app/assets/javascripts/widgets/price_filter.coffee
20 0 29 app/assets/javascripts/widgets/video_player.coffee
Types
-----
1376 251 2066 coffee
17686 0 17686 html
1812 403 2609 css
46091 19899 76475 js
Total
-----
66965 20553 98836
As you can see when a column contains a value with more than 4 chars the layout is somewhat messed-up. The column size should be the measured using the max length of the column values.
After running the command there's a file in my project's root named 'Line Count', which is fine, but when I close the tab opened by line-count, this file stays there. I would expect this to be a temporary file. I suspect this has something to do with the autosave package saving the tab upon opening it, because disabling autosave fixes this.
I'm on Linux Debian, Atom 0.187.0
There is anyway to call this plugin from a command line window?
Fix the .html
list item in the README by removing the last -
.
...
- .less
- .py
- .html
-
If you want to...
Becomes
...
- .less
- .py
- .html
If you want to...
Hi, thanks for this package.
It'd be great to have a count of miningful lines which are code and comments IMO.
Maybe the generated text could read:
Counts are in order of code, comments, sum and total (including blank lines).
There should be a way to any user add more ignored folders
Hey,
just tested this nice project.
When I run it in my Programm also the bower_components
folder gets counted.
Mayby this Folder should also be ignored like node_modules
Greetz
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.