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

Problem matchers should support creating related diagnostic information #55253

Open
kieferrm opened this issue Jul 27, 2018 · 5 comments
Open
Assignees
Labels
feature-request Request for new features or functionality tasks Task system issues
Milestone

Comments

@kieferrm
Copy link
Member

See #55120 for motivation.

@kieferrm kieferrm added feature-request Request for new features or functionality tasks Task system issues labels Jul 27, 2018
@Gama11
Copy link
Contributor

Gama11 commented Jul 27, 2018

If I recall correctly, there were some plans to allow programmatic problem matching (which would solve a lot of other problem-matcher-related issues as well). Maybe it's easier to support it there instead of trying to come up with some way of doing it in a declarative fashion.

See also: #9635 (comment)

@ncannasse
Copy link

Can we can some update on this ? We keep hitting into Problem-Matcher issues because we have no programmatic control over it. Ping @dbaeumer

@alexr00
Copy link
Member

alexr00 commented Oct 31, 2019

It's not currently planned work or on the road map, but its something that we want to do at some point.
You can always see our iteration plan here: https://github.com/microsoft/vscode/issues?q=is%3Aopen+is%3Aissue+label%3Aiteration-plan
And our road map here: https://github.com/microsoft/vscode/wiki/Roadmap

@GitMensch
Copy link
Contributor

The workaround I currently apply for this is to explicit parse the second one as informational and then filter that out in the problems pane, but that is the wrong approach. Using a "child" approach would be the correct one - but that seems to be not possible currently.

@alexr00 said:

It's not currently planned work or on the road map, but its something that we want to do at some point.

That means it will be lost.
Can you please add this to back-log or the road-map?

@GitMensch
Copy link
Contributor

While it may be obvious - as soon as the problemMatcher can define linked diagnostics, which is already available in vscode since 2018-03(!), then the documentation at https://code.visualstudio.com/Docs/editor/tasks#_defining-a-problem-matcher should be extended too.
I suggest to use the common "xyz defined here" diagnostic or gcc's "included from" as a sample.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality tasks Task system issues
Projects
None yet
Development

No branches or pull requests

7 participants