From a11ef2fbbaaa3e5cbbe791472dd2be68ce8bf664 Mon Sep 17 00:00:00 2001 From: Alex Ross Date: Wed, 8 Jul 2020 13:58:12 +0200 Subject: [PATCH] Improve problem matcher json error message Fixes #101475 --- src/vs/workbench/contrib/tasks/common/jsonSchemaCommon.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/vs/workbench/contrib/tasks/common/jsonSchemaCommon.ts b/src/vs/workbench/contrib/tasks/common/jsonSchemaCommon.ts index 70ccd46ec32..9cae427159b 100644 --- a/src/vs/workbench/contrib/tasks/common/jsonSchemaCommon.ts +++ b/src/vs/workbench/contrib/tasks/common/jsonSchemaCommon.ts @@ -38,6 +38,7 @@ const schema: IJSONSchema = { oneOf: [ { type: 'string', + errorMessage: nls.localize('JsonSchema.tasks.matcherError', 'Unrecognized problem matcher. Is the extension that contributes this problem matcher installed?') }, Schemas.LegacyProblemMatcher, { @@ -46,6 +47,7 @@ const schema: IJSONSchema = { anyOf: [ { type: 'string', + errorMessage: nls.localize('JsonSchema.tasks.matcherError', 'Unrecognized problem matcher. Is the extension that contributes this problem matcher installed?') }, Schemas.LegacyProblemMatcher ] -- GitLab