Giter Club home page Giter Club logo

Comments (6)

mark-hahn avatar mark-hahn commented on July 20, 2024

What are the extensions for jade?

On Mon, Jan 4, 2016 at 7:10 PM, houmark [email protected] wrote:

Would it be possible to add support for line counting on jade files as
well?


Reply to this email directly or view it on GitHub
#11.

from line-count.

houmark avatar houmark commented on July 20, 2024

Normally .jade :) See more here: http://jade-lang.com/

Also I would love to see that specific folders could be excluded by comma separation in config, so build and release folders could be excluded. And of course specific extensions as well, which I think was already suggested.

Thanks for your work and fast response :)

from line-count.

mark-hahn avatar mark-hahn commented on July 20, 2024

Jade added in 0.3.6.

You can add the other issues as feature requests but I doubt I'll be getting to them anytime soon. Feel free to give me a pull request. The code is tiny and simple.

from line-count.

houmark avatar houmark commented on July 20, 2024

Thanks, I have yet to do my first code for an Atom package, but I might give it a spin :) There should be plenty of other packages out there using folders for exclusion so it shouldn't be a big deal. Even hardcoding the release and build folders would not be too big of a deal as I doubt anyone would want to count that type of code.

from line-count.

houmark avatar houmark commented on July 20, 2024

@mark-hahn I just updated, and restarted Atom and ran line-count and got the following error many times as the first output in the count results:

Warning: File extension 'jade' is not supported

What could be missing?

from line-count.

mark-hahn avatar mark-hahn commented on July 20, 2024

I added "jade" to my list, but unfortunately the node module "sloc" (
https://www.npmjs.com/package/sloc) which I use for parsing the file
doesn't support jade. Someone who knows jade syntax will have to submit a
formatter to the sloc project in order for it to be supported. You might
take a look at how the formatters work. It might be easy.

On Mon, Jan 4, 2016 at 8:24 PM, houmark [email protected] wrote:

@mark-hahn https://github.com/mark-hahn I just updated, and restarted
Atom and ran line-count and got the following error many times as the first
output in the count results:

Warning: File extension 'jade' is not supported

What could be missing?


Reply to this email directly or view it on GitHub
#11 (comment)
.

from line-count.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.