Comments (5)
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.
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.
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.
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.
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)
- JSON results are slurped every time
- Optimise for buffers across different projects HOT 2
- Automatically detect non-git version control roots HOT 3
- Search-failedd "\"timestamp\": [0-9]+") [2 times] Quit HOT 1
- results lookup against .resultset.json is case sensitive (windows) HOT 3
- Create a stable release HOT 1
- Error running timer 'coverage redraw buffers' HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from coverage.