Giter VIP home page Giter VIP logo

Comments (5)

jcubic avatar jcubic commented on August 16, 2024

The module was renamed to https://github.com/jcubic/coverage.el and it now support php and JavaScript.

Since your package is on melpa you may consider grabbing my code and integrating it with the package.

from coverage.

trezona-lecomte avatar trezona-lecomte commented on August 16, 2024

Hi @jcubic I'm currently using this only for Ruby myself but will spend a bit of time looking into what it would take to support other languages. Thanks for opening the issue.

from coverage.

Technologicat avatar Technologicat commented on August 16, 2024

Python would be very useful, too. There's a Python fork of coverage-mode by @Bogdanp.

Possible approach:

  • coverage/get-results-for-file is the backend, needs to have one implementation per target language. Could extract those from the forks posted here?
  • Looking at the value of major-mode (for the current buffer), or the file extension (for an arbitrary file), should help detect which backend to invoke.

Integrating these forks into the official package would have the added advantage of easy install in Spacemacs for users of one of the alternative backends. Right now, to get one of them dotspacemacs-additional-packages needs something like (coverage :location (recipe :fetcher github :repo "someuser/coverage")), but for the official package on MELPA, just the package name is enough.

Of course, having all backends in the same package would also help users who need more than one language. :)

from coverage.

trezona-lecomte avatar trezona-lecomte commented on August 16, 2024

Hi @Technologicat, thanks for the suggestion 💯. I appreciate the input.

I will find some time in the next few weeks to take a look at this.

from coverage.

trezona-lecomte avatar trezona-lecomte commented on August 16, 2024

Sorry I haven't had time to look into this, I'm happy to accept pull requests but as I'm not using coverage for anything except Ruby at the moment it's a lot of work to set up projects to be able to test & develop this.

from coverage.

Related Issues (8)

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.