What's the recommendation for a configure problemMatcher in tasks.json?
We're not using problemMatchers so I can't really help other than say just follow the instructions from https://code.visualstudio.com/Docs/editor/tasks#_defining-a-problem-matcher.
But the java extension already returns compilation or syntax errors. What exactly are you trying to achieve?
Not sure if its the scope of this extension but it'd be nice if an extension defined $java as in you could use
{
"version": "2.0.0",
"tasks": [
{
"label": "someTask",
"type": "shell",
"command": "java -jar path/to/my.jar",
"problemMatcher": ["$java"],
}
]
}
in task.json
I use VS Code to build android projects using Gradle. Would be nice to have the PROBLEMS tab show errors & warnings from Gradle, Java, and C++ code.
Most helpful comment
I use VS Code to build android projects using Gradle. Would be nice to have the PROBLEMS tab show errors & warnings from Gradle, Java, and C++ code.