提交 a11ef2fb 编写于 作者: A Alex Ross

Improve problem matcher json error message

Fixes #101475
上级 42764922
...@@ -38,6 +38,7 @@ const schema: IJSONSchema = { ...@@ -38,6 +38,7 @@ const schema: IJSONSchema = {
oneOf: [ oneOf: [
{ {
type: 'string', type: 'string',
errorMessage: nls.localize('JsonSchema.tasks.matcherError', 'Unrecognized problem matcher. Is the extension that contributes this problem matcher installed?')
}, },
Schemas.LegacyProblemMatcher, Schemas.LegacyProblemMatcher,
{ {
...@@ -46,6 +47,7 @@ const schema: IJSONSchema = { ...@@ -46,6 +47,7 @@ const schema: IJSONSchema = {
anyOf: [ anyOf: [
{ {
type: 'string', type: 'string',
errorMessage: nls.localize('JsonSchema.tasks.matcherError', 'Unrecognized problem matcher. Is the extension that contributes this problem matcher installed?')
}, },
Schemas.LegacyProblemMatcher Schemas.LegacyProblemMatcher
] ]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册