vscode-code-coverage
vscode-code-coverage copied to clipboard
Request: Monorepo support (with deep file structures and relative .lcov paths)
Example repo structure:
lib1/coverage/lcov.info
lib1/src/file.ts
lib2/coverage/lcov.info
lib2/src/file.ts
Search config
**/coverage/lcov.info
lcov.info
TN:
SF:src/file.ts
...
Produces:
[{
"resource": "/test/repro/src/file.ts",
"owner": "coverage",
"severity": 2,
"message": "[code-coverage] line not covered",
"startLineNumber": 17,
"startColumn": 1,
"endLineNumber": 17,
"endColumn": 1001
}]
// and The editor could not be opened because the file was not found.
Expects:
File should be trying to be located not from the opened workspace base path
but maybe from base path of regexp of config, or maybe special config (like deep-search: true that will add (group (**/)) to regexp and cut them next)
yes, project root setting is necessary