@codingame/monaco-vscode-task-service-override 10.1.2 → 10.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-task-service-override",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.3",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "git@github.com
|
|
12
|
+
"url": "git+ssh://git@github.com/CodinGame/monaco-vscode-api.git"
|
|
13
13
|
},
|
|
14
14
|
"type": "module",
|
|
15
15
|
"private": false,
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@10.1.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@10.1.3"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -519,7 +519,7 @@ class ProblemPatternParser extends Parser {
|
|
|
519
519
|
return this.createSingleProblemPattern(value);
|
|
520
520
|
}
|
|
521
521
|
else {
|
|
522
|
-
this.error(( localize(
|
|
522
|
+
this.error(( localize(6463, 'The problem pattern is missing a regular expression.')));
|
|
523
523
|
return null;
|
|
524
524
|
}
|
|
525
525
|
}
|
|
@@ -555,7 +555,7 @@ class ProblemPatternParser extends Parser {
|
|
|
555
555
|
if (i < values.length - 1) {
|
|
556
556
|
if (!isUndefined(pattern.loop) && pattern.loop) {
|
|
557
557
|
pattern.loop = false;
|
|
558
|
-
this.error(( localize(
|
|
558
|
+
this.error(( localize(6464, 'The loop property is only supported on the last line matcher.')));
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
561
|
result.push(pattern);
|
|
@@ -618,7 +618,7 @@ class ProblemPatternParser extends Parser {
|
|
|
618
618
|
values.forEach((pattern, i) => {
|
|
619
619
|
if (i !== 0 && pattern.kind) {
|
|
620
620
|
this.error(( localize(
|
|
621
|
-
|
|
621
|
+
6465,
|
|
622
622
|
'The problem pattern is invalid. The kind property must be provided only in the first element'
|
|
623
623
|
)));
|
|
624
624
|
}
|
|
@@ -629,14 +629,14 @@ class ProblemPatternParser extends Parser {
|
|
|
629
629
|
});
|
|
630
630
|
if (!(file && message)) {
|
|
631
631
|
this.error(( localize(
|
|
632
|
-
|
|
632
|
+
6466,
|
|
633
633
|
'The problem pattern is invalid. It must have at least have a file and a message.'
|
|
634
634
|
)));
|
|
635
635
|
return false;
|
|
636
636
|
}
|
|
637
637
|
if (locationKind === ProblemLocationKind.Location && !(location || line)) {
|
|
638
638
|
this.error(( localize(
|
|
639
|
-
|
|
639
|
+
6467,
|
|
640
640
|
'The problem pattern is invalid. It must either have kind: "file" or have a line or location match group.'
|
|
641
641
|
)));
|
|
642
642
|
return false;
|
|
@@ -649,7 +649,7 @@ class ProblemPatternParser extends Parser {
|
|
|
649
649
|
result = ( (new RegExp(value)));
|
|
650
650
|
}
|
|
651
651
|
catch (err) {
|
|
652
|
-
this.error(( localize(
|
|
652
|
+
this.error(( localize(6468, 'Error: The string {0} is not a valid regular expression.\n', value)));
|
|
653
653
|
}
|
|
654
654
|
return result;
|
|
655
655
|
}
|
|
@@ -694,78 +694,78 @@ var Schemas;
|
|
|
694
694
|
regexp: {
|
|
695
695
|
type: 'string',
|
|
696
696
|
description: ( localize(
|
|
697
|
-
|
|
697
|
+
6469,
|
|
698
698
|
'The regular expression to find an error, warning or info in the output.'
|
|
699
699
|
))
|
|
700
700
|
},
|
|
701
701
|
kind: {
|
|
702
702
|
type: 'string',
|
|
703
703
|
description: ( localize(
|
|
704
|
-
|
|
704
|
+
6470,
|
|
705
705
|
'whether the pattern matches a location (file and line) or only a file.'
|
|
706
706
|
))
|
|
707
707
|
},
|
|
708
708
|
file: {
|
|
709
709
|
type: 'integer',
|
|
710
|
-
description: ( localize(
|
|
710
|
+
description: ( localize(6471, 'The match group index of the filename. If omitted 1 is used.'))
|
|
711
711
|
},
|
|
712
712
|
location: {
|
|
713
713
|
type: 'integer',
|
|
714
714
|
description: ( localize(
|
|
715
|
-
|
|
715
|
+
6472,
|
|
716
716
|
'The match group index of the problem\'s location. Valid location patterns are: (line), (line,column) and (startLine,startColumn,endLine,endColumn). If omitted (line,column) is assumed.'
|
|
717
717
|
))
|
|
718
718
|
},
|
|
719
719
|
line: {
|
|
720
720
|
type: 'integer',
|
|
721
|
-
description: ( localize(
|
|
721
|
+
description: ( localize(6473, 'The match group index of the problem\'s line. Defaults to 2'))
|
|
722
722
|
},
|
|
723
723
|
column: {
|
|
724
724
|
type: 'integer',
|
|
725
725
|
description: ( localize(
|
|
726
|
-
|
|
726
|
+
6474,
|
|
727
727
|
'The match group index of the problem\'s line character. Defaults to 3'
|
|
728
728
|
))
|
|
729
729
|
},
|
|
730
730
|
endLine: {
|
|
731
731
|
type: 'integer',
|
|
732
732
|
description: ( localize(
|
|
733
|
-
|
|
733
|
+
6475,
|
|
734
734
|
'The match group index of the problem\'s end line. Defaults to undefined'
|
|
735
735
|
))
|
|
736
736
|
},
|
|
737
737
|
endColumn: {
|
|
738
738
|
type: 'integer',
|
|
739
739
|
description: ( localize(
|
|
740
|
-
|
|
740
|
+
6476,
|
|
741
741
|
'The match group index of the problem\'s end line character. Defaults to undefined'
|
|
742
742
|
))
|
|
743
743
|
},
|
|
744
744
|
severity: {
|
|
745
745
|
type: 'integer',
|
|
746
746
|
description: ( localize(
|
|
747
|
-
|
|
747
|
+
6477,
|
|
748
748
|
'The match group index of the problem\'s severity. Defaults to undefined'
|
|
749
749
|
))
|
|
750
750
|
},
|
|
751
751
|
code: {
|
|
752
752
|
type: 'integer',
|
|
753
753
|
description: ( localize(
|
|
754
|
-
|
|
754
|
+
6478,
|
|
755
755
|
'The match group index of the problem\'s code. Defaults to undefined'
|
|
756
756
|
))
|
|
757
757
|
},
|
|
758
758
|
message: {
|
|
759
759
|
type: 'integer',
|
|
760
760
|
description: ( localize(
|
|
761
|
-
|
|
761
|
+
6479,
|
|
762
762
|
'The match group index of the message. If omitted it defaults to 4 if location is specified. Otherwise it defaults to 5.'
|
|
763
763
|
))
|
|
764
764
|
},
|
|
765
765
|
loop: {
|
|
766
766
|
type: 'boolean',
|
|
767
767
|
description: ( localize(
|
|
768
|
-
|
|
768
|
+
6480,
|
|
769
769
|
'In a multi line matcher loop indicated whether this pattern is executed in a loop as long as it matches. Can only specified on a last pattern in a multi line pattern.'
|
|
770
770
|
))
|
|
771
771
|
}
|
|
@@ -775,7 +775,7 @@ var Schemas;
|
|
|
775
775
|
Schemas.NamedProblemPattern.properties = deepClone(Schemas.NamedProblemPattern.properties) || {};
|
|
776
776
|
Schemas.NamedProblemPattern.properties['name'] = {
|
|
777
777
|
type: 'string',
|
|
778
|
-
description: ( localize(
|
|
778
|
+
description: ( localize(6481, 'The name of the problem pattern.'))
|
|
779
779
|
};
|
|
780
780
|
Schemas.MultiLineProblemPattern = {
|
|
781
781
|
type: 'array',
|
|
@@ -787,11 +787,11 @@ var Schemas;
|
|
|
787
787
|
properties: {
|
|
788
788
|
name: {
|
|
789
789
|
type: 'string',
|
|
790
|
-
description: ( localize(
|
|
790
|
+
description: ( localize(6482, 'The name of the problem multi line problem pattern.'))
|
|
791
791
|
},
|
|
792
792
|
patterns: {
|
|
793
793
|
type: 'array',
|
|
794
|
-
description: ( localize(
|
|
794
|
+
description: ( localize(6483, 'The actual patterns.')),
|
|
795
795
|
items: Schemas.ProblemPattern
|
|
796
796
|
}
|
|
797
797
|
}
|
|
@@ -803,13 +803,13 @@ var Schemas;
|
|
|
803
803
|
regexp: {
|
|
804
804
|
type: 'string',
|
|
805
805
|
description: ( localize(
|
|
806
|
-
|
|
806
|
+
6484,
|
|
807
807
|
'The regular expression to detect the begin or end of a background task.'
|
|
808
808
|
))
|
|
809
809
|
},
|
|
810
810
|
file: {
|
|
811
811
|
type: 'integer',
|
|
812
|
-
description: ( localize(
|
|
812
|
+
description: ( localize(6485, 'The match group index of the filename. Can be omitted.'))
|
|
813
813
|
},
|
|
814
814
|
}
|
|
815
815
|
};
|
|
@@ -817,13 +817,13 @@ var Schemas;
|
|
|
817
817
|
anyOf: [
|
|
818
818
|
{
|
|
819
819
|
type: 'string',
|
|
820
|
-
description: ( localize(
|
|
820
|
+
description: ( localize(6486, 'The name of a contributed or predefined pattern'))
|
|
821
821
|
},
|
|
822
822
|
Schemas.ProblemPattern,
|
|
823
823
|
Schemas.MultiLineProblemPattern
|
|
824
824
|
],
|
|
825
825
|
description: ( localize(
|
|
826
|
-
|
|
826
|
+
6487,
|
|
827
827
|
'A problem pattern or the name of a contributed or predefined problem pattern. Can be omitted if base is specified.'
|
|
828
828
|
))
|
|
829
829
|
};
|
|
@@ -833,19 +833,19 @@ var Schemas;
|
|
|
833
833
|
properties: {
|
|
834
834
|
base: {
|
|
835
835
|
type: 'string',
|
|
836
|
-
description: ( localize(
|
|
836
|
+
description: ( localize(6488, 'The name of a base problem matcher to use.'))
|
|
837
837
|
},
|
|
838
838
|
owner: {
|
|
839
839
|
type: 'string',
|
|
840
840
|
description: ( localize(
|
|
841
|
-
|
|
841
|
+
6489,
|
|
842
842
|
'The owner of the problem inside Code. Can be omitted if base is specified. Defaults to \'external\' if omitted and base is not specified.'
|
|
843
843
|
))
|
|
844
844
|
},
|
|
845
845
|
source: {
|
|
846
846
|
type: 'string',
|
|
847
847
|
description: ( localize(
|
|
848
|
-
|
|
848
|
+
6490,
|
|
849
849
|
'A human-readable string describing the source of this diagnostic, e.g. \'typescript\' or \'super lint\'.'
|
|
850
850
|
))
|
|
851
851
|
},
|
|
@@ -853,7 +853,7 @@ var Schemas;
|
|
|
853
853
|
type: 'string',
|
|
854
854
|
enum: ['error', 'warning', 'info'],
|
|
855
855
|
description: ( localize(
|
|
856
|
-
|
|
856
|
+
6491,
|
|
857
857
|
'The default severity for captures problems. Is used if the pattern doesn\'t define a match group for severity.'
|
|
858
858
|
))
|
|
859
859
|
},
|
|
@@ -861,7 +861,7 @@ var Schemas;
|
|
|
861
861
|
type: 'string',
|
|
862
862
|
enum: ['allDocuments', 'openDocuments', 'closedDocuments'],
|
|
863
863
|
description: ( localize(
|
|
864
|
-
|
|
864
|
+
6492,
|
|
865
865
|
'Controls if a problem reported on a text document is applied only to open, closed or all documents.'
|
|
866
866
|
))
|
|
867
867
|
},
|
|
@@ -931,7 +931,7 @@ var Schemas;
|
|
|
931
931
|
}
|
|
932
932
|
],
|
|
933
933
|
description: ( localize(
|
|
934
|
-
|
|
934
|
+
6493,
|
|
935
935
|
'Defines how file names reported in a problem pattern should be interpreted. A relative fileLocation may be an array, where the second element of the array is the path of the relative file location. The search fileLocation mode, performs a deep (and, possibly, heavy) file system search within the directories specified by the include/exclude properties of the second element (or the current workspace directory if not specified).'
|
|
936
936
|
))
|
|
937
937
|
},
|
|
@@ -939,14 +939,14 @@ var Schemas;
|
|
|
939
939
|
type: 'object',
|
|
940
940
|
additionalProperties: false,
|
|
941
941
|
description: ( localize(
|
|
942
|
-
|
|
942
|
+
6494,
|
|
943
943
|
'Patterns to track the begin and end of a matcher active on a background task.'
|
|
944
944
|
)),
|
|
945
945
|
properties: {
|
|
946
946
|
activeOnStart: {
|
|
947
947
|
type: 'boolean',
|
|
948
948
|
description: ( localize(
|
|
949
|
-
|
|
949
|
+
6495,
|
|
950
950
|
'If set to true the background monitor is in active mode when the task starts. This is equals of issuing a line that matches the beginsPattern'
|
|
951
951
|
))
|
|
952
952
|
},
|
|
@@ -958,7 +958,7 @@ var Schemas;
|
|
|
958
958
|
Schemas.WatchingPattern
|
|
959
959
|
],
|
|
960
960
|
description: ( localize(
|
|
961
|
-
|
|
961
|
+
6496,
|
|
962
962
|
'If matched in the output the start of a background task is signaled.'
|
|
963
963
|
))
|
|
964
964
|
},
|
|
@@ -969,20 +969,20 @@ var Schemas;
|
|
|
969
969
|
},
|
|
970
970
|
Schemas.WatchingPattern
|
|
971
971
|
],
|
|
972
|
-
description: ( localize(
|
|
972
|
+
description: ( localize(6497, 'If matched in the output the end of a background task is signaled.'))
|
|
973
973
|
}
|
|
974
974
|
}
|
|
975
975
|
},
|
|
976
976
|
watching: {
|
|
977
977
|
type: 'object',
|
|
978
978
|
additionalProperties: false,
|
|
979
|
-
deprecationMessage: ( localize(
|
|
980
|
-
description: ( localize(
|
|
979
|
+
deprecationMessage: ( localize(6498, 'The watching property is deprecated. Use background instead.')),
|
|
980
|
+
description: ( localize(6499, 'Patterns to track the begin and end of a watching matcher.')),
|
|
981
981
|
properties: {
|
|
982
982
|
activeOnStart: {
|
|
983
983
|
type: 'boolean',
|
|
984
984
|
description: ( localize(
|
|
985
|
-
|
|
985
|
+
6500,
|
|
986
986
|
'If set to true the watcher is in active mode when the task starts. This is equals of issuing a line that matches the beginPattern'
|
|
987
987
|
))
|
|
988
988
|
},
|
|
@@ -993,7 +993,7 @@ var Schemas;
|
|
|
993
993
|
},
|
|
994
994
|
Schemas.WatchingPattern
|
|
995
995
|
],
|
|
996
|
-
description: ( localize(
|
|
996
|
+
description: ( localize(6501, 'If matched in the output the start of a watching task is signaled.'))
|
|
997
997
|
},
|
|
998
998
|
endsPattern: {
|
|
999
999
|
oneOf: [
|
|
@@ -1002,7 +1002,7 @@ var Schemas;
|
|
|
1002
1002
|
},
|
|
1003
1003
|
Schemas.WatchingPattern
|
|
1004
1004
|
],
|
|
1005
|
-
description: ( localize(
|
|
1005
|
+
description: ( localize(6502, 'If matched in the output the end of a watching task is signaled.'))
|
|
1006
1006
|
}
|
|
1007
1007
|
}
|
|
1008
1008
|
}
|
|
@@ -1012,17 +1012,17 @@ var Schemas;
|
|
|
1012
1012
|
Schemas.LegacyProblemMatcher.properties = deepClone(Schemas.LegacyProblemMatcher.properties) || {};
|
|
1013
1013
|
Schemas.LegacyProblemMatcher.properties['watchedTaskBeginsRegExp'] = {
|
|
1014
1014
|
type: 'string',
|
|
1015
|
-
deprecationMessage: ( localize(
|
|
1015
|
+
deprecationMessage: ( localize(6503, 'This property is deprecated. Use the watching property instead.')),
|
|
1016
1016
|
description: ( localize(
|
|
1017
|
-
|
|
1017
|
+
6504,
|
|
1018
1018
|
'A regular expression signaling that a watched tasks begins executing triggered through file watching.'
|
|
1019
1019
|
))
|
|
1020
1020
|
};
|
|
1021
1021
|
Schemas.LegacyProblemMatcher.properties['watchedTaskEndsRegExp'] = {
|
|
1022
1022
|
type: 'string',
|
|
1023
|
-
deprecationMessage: ( localize(
|
|
1023
|
+
deprecationMessage: ( localize(6505, 'This property is deprecated. Use the watching property instead.')),
|
|
1024
1024
|
description: ( localize(
|
|
1025
|
-
|
|
1025
|
+
6506,
|
|
1026
1026
|
'A regular expression signaling that a watched tasks ends executing.'
|
|
1027
1027
|
))
|
|
1028
1028
|
};
|
|
@@ -1030,17 +1030,17 @@ var Schemas;
|
|
|
1030
1030
|
Schemas.NamedProblemMatcher.properties = deepClone(Schemas.NamedProblemMatcher.properties) || {};
|
|
1031
1031
|
Schemas.NamedProblemMatcher.properties.name = {
|
|
1032
1032
|
type: 'string',
|
|
1033
|
-
description: ( localize(
|
|
1033
|
+
description: ( localize(6507, 'The name of the problem matcher used to refer to it.'))
|
|
1034
1034
|
};
|
|
1035
1035
|
Schemas.NamedProblemMatcher.properties.label = {
|
|
1036
1036
|
type: 'string',
|
|
1037
|
-
description: ( localize(
|
|
1037
|
+
description: ( localize(6508, 'A human readable label of the problem matcher.'))
|
|
1038
1038
|
};
|
|
1039
1039
|
})(Schemas || (Schemas = {}))));
|
|
1040
1040
|
const problemPatternExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
1041
1041
|
extensionPoint: 'problemPatterns',
|
|
1042
1042
|
jsonSchema: {
|
|
1043
|
-
description: ( localize(
|
|
1043
|
+
description: ( localize(6509, 'Contributes problem patterns')),
|
|
1044
1044
|
type: 'array',
|
|
1045
1045
|
items: {
|
|
1046
1046
|
anyOf: [
|
|
@@ -1075,7 +1075,7 @@ class ProblemPatternRegistryImpl {
|
|
|
1075
1075
|
this.add(result.name, result.patterns);
|
|
1076
1076
|
}
|
|
1077
1077
|
else {
|
|
1078
|
-
extension.collector.error(( localize(
|
|
1078
|
+
extension.collector.error(( localize(6510, 'Invalid problem pattern. The pattern will be ignored.')));
|
|
1079
1079
|
extension.collector.error(JSON.stringify(pattern, undefined, 4));
|
|
1080
1080
|
}
|
|
1081
1081
|
}
|
|
@@ -1085,7 +1085,7 @@ class ProblemPatternRegistryImpl {
|
|
|
1085
1085
|
this.add(pattern.name, result);
|
|
1086
1086
|
}
|
|
1087
1087
|
else {
|
|
1088
|
-
extension.collector.error(( localize(
|
|
1088
|
+
extension.collector.error(( localize(6510, 'Invalid problem pattern. The pattern will be ignored.')));
|
|
1089
1089
|
extension.collector.error(JSON.stringify(pattern, undefined, 4));
|
|
1090
1090
|
}
|
|
1091
1091
|
}
|
|
@@ -1238,7 +1238,7 @@ class ProblemMatcherParser extends Parser {
|
|
|
1238
1238
|
checkProblemMatcherValid(externalProblemMatcher, problemMatcher) {
|
|
1239
1239
|
if (!problemMatcher) {
|
|
1240
1240
|
this.error(( localize(
|
|
1241
|
-
|
|
1241
|
+
6511,
|
|
1242
1242
|
'Error: the description can\'t be converted into a problem matcher:\n{0}\n',
|
|
1243
1243
|
JSON.stringify(externalProblemMatcher, null, 4)
|
|
1244
1244
|
)));
|
|
@@ -1246,7 +1246,7 @@ class ProblemMatcherParser extends Parser {
|
|
|
1246
1246
|
}
|
|
1247
1247
|
if (!problemMatcher.pattern) {
|
|
1248
1248
|
this.error(( localize(
|
|
1249
|
-
|
|
1249
|
+
6512,
|
|
1250
1250
|
'Error: the description doesn\'t define a valid problem pattern:\n{0}\n',
|
|
1251
1251
|
JSON.stringify(externalProblemMatcher, null, 4)
|
|
1252
1252
|
)));
|
|
@@ -1254,7 +1254,7 @@ class ProblemMatcherParser extends Parser {
|
|
|
1254
1254
|
}
|
|
1255
1255
|
if (!problemMatcher.owner) {
|
|
1256
1256
|
this.error(( localize(
|
|
1257
|
-
|
|
1257
|
+
6513,
|
|
1258
1258
|
'Error: the description doesn\'t define an owner:\n{0}\n',
|
|
1259
1259
|
JSON.stringify(externalProblemMatcher, null, 4)
|
|
1260
1260
|
)));
|
|
@@ -1262,7 +1262,7 @@ class ProblemMatcherParser extends Parser {
|
|
|
1262
1262
|
}
|
|
1263
1263
|
if (isUndefined(problemMatcher.fileLocation)) {
|
|
1264
1264
|
this.error(( localize(
|
|
1265
|
-
|
|
1265
|
+
6514,
|
|
1266
1266
|
'Error: the description doesn\'t define a file location:\n{0}\n',
|
|
1267
1267
|
JSON.stringify(externalProblemMatcher, null, 4)
|
|
1268
1268
|
)));
|
|
@@ -1321,7 +1321,7 @@ class ProblemMatcherParser extends Parser {
|
|
|
1321
1321
|
let severity = description.severity ? Severity$1.fromValue(description.severity) : undefined;
|
|
1322
1322
|
if (severity === Severity$1.Ignore) {
|
|
1323
1323
|
this.info(( localize(
|
|
1324
|
-
|
|
1324
|
+
6515,
|
|
1325
1325
|
'Info: unknown severity {0}. Valid values are error, warning and info.\n',
|
|
1326
1326
|
description.severity
|
|
1327
1327
|
)));
|
|
@@ -1385,7 +1385,7 @@ class ProblemMatcherParser extends Parser {
|
|
|
1385
1385
|
const result = ProblemPatternRegistry.get(variableName.substring(1));
|
|
1386
1386
|
if (!result) {
|
|
1387
1387
|
this.error(( localize(
|
|
1388
|
-
|
|
1388
|
+
6516,
|
|
1389
1389
|
'Error: the pattern with the identifier {0} doesn\'t exist.',
|
|
1390
1390
|
variableName
|
|
1391
1391
|
)));
|
|
@@ -1394,11 +1394,11 @@ class ProblemMatcherParser extends Parser {
|
|
|
1394
1394
|
}
|
|
1395
1395
|
else {
|
|
1396
1396
|
if (variableName.length === 0) {
|
|
1397
|
-
this.error(( localize(
|
|
1397
|
+
this.error(( localize(6517, 'Error: the pattern property refers to an empty identifier.')));
|
|
1398
1398
|
}
|
|
1399
1399
|
else {
|
|
1400
1400
|
this.error(( localize(
|
|
1401
|
-
|
|
1401
|
+
6518,
|
|
1402
1402
|
'Error: the pattern property {0} is not a valid pattern variable name.',
|
|
1403
1403
|
variableName
|
|
1404
1404
|
)));
|
|
@@ -1443,7 +1443,7 @@ class ProblemMatcherParser extends Parser {
|
|
|
1443
1443
|
}
|
|
1444
1444
|
if (begins || ends) {
|
|
1445
1445
|
this.error(( localize(
|
|
1446
|
-
|
|
1446
|
+
6519,
|
|
1447
1447
|
'A problem matcher must define both a begin pattern and an end pattern for watching.'
|
|
1448
1448
|
)));
|
|
1449
1449
|
}
|
|
@@ -1477,7 +1477,7 @@ class ProblemMatcherParser extends Parser {
|
|
|
1477
1477
|
result = ( (new RegExp(value)));
|
|
1478
1478
|
}
|
|
1479
1479
|
catch (err) {
|
|
1480
|
-
this.error(( localize(
|
|
1480
|
+
this.error(( localize(6520, 'Error: The string {0} is not a valid regular expression.\n', value)));
|
|
1481
1481
|
}
|
|
1482
1482
|
return result;
|
|
1483
1483
|
}
|
|
@@ -1486,7 +1486,7 @@ const problemMatchersExtPoint = ExtensionsRegistry.registerExtensionPoint({
|
|
|
1486
1486
|
extensionPoint: 'problemMatchers',
|
|
1487
1487
|
deps: [problemPatternExtPoint],
|
|
1488
1488
|
jsonSchema: {
|
|
1489
|
-
description: ( localize(
|
|
1489
|
+
description: ( localize(6521, 'Contributes problem matchers')),
|
|
1490
1490
|
type: 'array',
|
|
1491
1491
|
items: Schemas.NamedProblemMatcher
|
|
1492
1492
|
}
|
|
@@ -1550,7 +1550,7 @@ class ProblemMatcherRegistryImpl {
|
|
|
1550
1550
|
fillDefaults() {
|
|
1551
1551
|
this.add({
|
|
1552
1552
|
name: 'msCompile',
|
|
1553
|
-
label: ( localize(
|
|
1553
|
+
label: ( localize(6522, 'Microsoft compiler problems')),
|
|
1554
1554
|
owner: 'msCompile',
|
|
1555
1555
|
source: 'cpp',
|
|
1556
1556
|
applyTo: ApplyToKind.allDocuments,
|
|
@@ -1559,7 +1559,7 @@ class ProblemMatcherRegistryImpl {
|
|
|
1559
1559
|
});
|
|
1560
1560
|
this.add({
|
|
1561
1561
|
name: 'lessCompile',
|
|
1562
|
-
label: ( localize(
|
|
1562
|
+
label: ( localize(6523, 'Less problems')),
|
|
1563
1563
|
deprecated: true,
|
|
1564
1564
|
owner: 'lessCompile',
|
|
1565
1565
|
source: 'less',
|
|
@@ -1570,7 +1570,7 @@ class ProblemMatcherRegistryImpl {
|
|
|
1570
1570
|
});
|
|
1571
1571
|
this.add({
|
|
1572
1572
|
name: 'gulp-tsc',
|
|
1573
|
-
label: ( localize(
|
|
1573
|
+
label: ( localize(6524, 'Gulp TSC Problems')),
|
|
1574
1574
|
owner: 'typescript',
|
|
1575
1575
|
source: 'ts',
|
|
1576
1576
|
applyTo: ApplyToKind.closedDocuments,
|
|
@@ -1580,7 +1580,7 @@ class ProblemMatcherRegistryImpl {
|
|
|
1580
1580
|
});
|
|
1581
1581
|
this.add({
|
|
1582
1582
|
name: 'jshint',
|
|
1583
|
-
label: ( localize(
|
|
1583
|
+
label: ( localize(6525, 'JSHint problems')),
|
|
1584
1584
|
owner: 'jshint',
|
|
1585
1585
|
source: 'jshint',
|
|
1586
1586
|
applyTo: ApplyToKind.allDocuments,
|
|
@@ -1589,7 +1589,7 @@ class ProblemMatcherRegistryImpl {
|
|
|
1589
1589
|
});
|
|
1590
1590
|
this.add({
|
|
1591
1591
|
name: 'jshint-stylish',
|
|
1592
|
-
label: ( localize(
|
|
1592
|
+
label: ( localize(6526, 'JSHint stylish problems')),
|
|
1593
1593
|
owner: 'jshint',
|
|
1594
1594
|
source: 'jshint',
|
|
1595
1595
|
applyTo: ApplyToKind.allDocuments,
|
|
@@ -1598,7 +1598,7 @@ class ProblemMatcherRegistryImpl {
|
|
|
1598
1598
|
});
|
|
1599
1599
|
this.add({
|
|
1600
1600
|
name: 'eslint-compact',
|
|
1601
|
-
label: ( localize(
|
|
1601
|
+
label: ( localize(6527, 'ESLint compact problems')),
|
|
1602
1602
|
owner: 'eslint',
|
|
1603
1603
|
source: 'eslint',
|
|
1604
1604
|
applyTo: ApplyToKind.allDocuments,
|
|
@@ -1608,7 +1608,7 @@ class ProblemMatcherRegistryImpl {
|
|
|
1608
1608
|
});
|
|
1609
1609
|
this.add({
|
|
1610
1610
|
name: 'eslint-stylish',
|
|
1611
|
-
label: ( localize(
|
|
1611
|
+
label: ( localize(6528, 'ESLint stylish problems')),
|
|
1612
1612
|
owner: 'eslint',
|
|
1613
1613
|
source: 'eslint',
|
|
1614
1614
|
applyTo: ApplyToKind.allDocuments,
|
|
@@ -1617,7 +1617,7 @@ class ProblemMatcherRegistryImpl {
|
|
|
1617
1617
|
});
|
|
1618
1618
|
this.add({
|
|
1619
1619
|
name: 'go',
|
|
1620
|
-
label: ( localize(
|
|
1620
|
+
label: ( localize(6529, 'Go problems')),
|
|
1621
1621
|
owner: 'go',
|
|
1622
1622
|
source: 'go',
|
|
1623
1623
|
applyTo: ApplyToKind.allDocuments,
|