vscode-coverage-gutters icon indicating copy to clipboard operation
vscode-coverage-gutters copied to clipboard

Support codecov.json format

Open marco-carvalho opened this issue 9 months ago • 1 comments

Is your feature request related to a problem? Please describe. I'm using a project that generates codecov.json and would like to view coverage from this file, but vscode-coverage-gutters doesn't currently support it.

Describe the solution you'd like It would be great if vscode-coverage-gutters could parse and display coverage from codecov.json files.

Describe alternatives you've considered I’ve considered converting codecov.json to lcov.info, but it adds extra steps to the workflow.

marco-carvalho avatar May 29 '25 17:05 marco-carvalho

Thanks for the issue @marco-carvalho ! You should be able to change or add coverage file names via the setting below. (You can change settings by going into https://code.visualstudio.com/docs/getstarted/personalize-vscode#_configure-settings)

coverage-gutters.coverageFileNames

https://github.com/ryanluker/vscode-coverage-gutters/blob/master/package.json#L116-L128

Note: CodeCov does need to be in one of the supported coverage files though (LCOV, jacaco, etc).

ryanluker avatar Jun 03 '25 23:06 ryanluker

Closing but happy to open if more comments / questions are asked.

ryanluker avatar Jul 13 '25 16:07 ryanluker