-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Global task properties #24865
Comments
Global defined options shared between tasks, problem matchers not since they might differ between tasks. Declaring global problem matchers and referencing them by name later makes sense and should be added. |
Shared problem matchers still make sense, because you should be able to override them on a per task level. If not specified in a task, then they should default to the global problem matchers, otherwise the task level problem matchers should take precedence, overriding/replacing any global problem matchers. |
I have the exact same problem. I have many tasks. Most use the exact same problem matcher. It would be nice if you could created named problem matchers globally, and then just reference them by name in each tasks. |
@alexr00 any update on this considering the october 2019 backlog passed almost a year ago? |
Given all the good stuff on our roadmap I just haven't had a chance to get to this issue. Its still on the backlog, which means that its something we'd like to work on at some point. However, there is currently no planned time to do it. Perhaps next time we do an issue grooming iteration I will have a chance to work on it. |
Reusing problem matchers is tracked by #61497 |
Several task properties , you would think are global, but are not, such as
options
andproblemMatcher
. For example, in the followingtask.json
file,options
andproblemMatcher
are ignored. In order for these properties to work, they must be replicated across all tasks in the task array, which really sucks, especially when you have 5+ tasks, each sharing the same set of problem matchers and options. What makes this even worse, is that you can't reference problem matchers by name, which means you have to type out the entire problem matcher definition, which is like 10+ lines, for each and every task.The text was updated successfully, but these errors were encountered: