Skip to content

Request: Monorepo support (with deep file structures and relative .lcov paths) #109

@npdev453

Description

@npdev453

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions