@@ -1289,6 +1300,9 @@ export class ProblemMatcherParser extends Parser {
if(description.owner){
result.owner=owner;
}
if(source){
result.source=source;
}
if(fileLocation){
result.fileLocation=fileLocation;
}
...
...
@@ -1310,6 +1324,9 @@ export class ProblemMatcherParser extends Parser {
fileLocation:fileLocation,
pattern:pattern,
};
if(source){
result.source=source;
}
if(filePrefix){
result.filePrefix=filePrefix;
}
...
...
@@ -1457,6 +1474,10 @@ export namespace Schemas {
type:'string',
description:localize('ProblemMatcherSchema.owner','The owner of the problem inside Code. Can be omitted if base is specified. Defaults to \'external\' if omitted and base is not specified.')
},
source:{
type:'string',
description:localize('ProblemMatcherSchema.source','A human-readable string describing the source of this diagnostic, e.g. \'typescript\' or \'super lint\'.')
},
severity:{
type:'string',
enum:['error','warning','info'],
...
...
@@ -1646,6 +1667,7 @@ class ProblemMatcherRegistryImpl implements IProblemMatcherRegistry {