Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to write a problemMatcher with "background" and no problems? #82624

Closed
roblourens opened this issue Oct 15, 2019 · 2 comments
Closed

How to write a problemMatcher with "background" and no problems? #82624

roblourens opened this issue Oct 15, 2019 · 2 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) tasks Task system issues

Comments

@roblourens
Copy link
Member

roblourens commented Oct 15, 2019

Trying to solve #82621 by adding a problemMatcher with "background" property. But I don't actually want it to match any problems.

If I don't set the "pattern" property I just get

Error: the description can't be converted into a problem matcher:
{
    "background": {
        "activeOnStart": false,
        "beginsPattern": "Web UI available at",
        "endsPattern": "sdf"
    }
}

which is not a helpful error message. But it seems like I have to add an empty problemMatcher pattern like this

"pattern": {
	"regexp": ""
},
@roblourens
Copy link
Member Author

Also, I have to full in a dummy endsPattern, when there is no end output from the task, how can I get rid of that?

@alexr00
Copy link
Member

alexr00 commented Oct 16, 2019

Error messages are unhelpful is a duplicate of #29951

Having a better solution than a problem matcher for tracking background tasks is a duplicate of #6209

@alexr00 alexr00 closed this as completed Oct 16, 2019
@alexr00 alexr00 added *duplicate Issue identified as a duplicate of another issue(s) tasks Task system issues labels Oct 16, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) tasks Task system issues
Projects
None yet
Development

No branches or pull requests

2 participants