diff --git a/src/vs/workbench/contrib/tasks/common/problemMatcher.ts b/src/vs/workbench/contrib/tasks/common/problemMatcher.ts index 296d268d..fc4ec5bc 100644 --- a/src/vs/workbench/contrib/tasks/common/problemMatcher.ts +++ b/src/vs/workbench/contrib/tasks/common/problemMatcher.ts @@ -1205,15 +1205,15 @@ class ProblemPatternRegistryImpl implements IProblemPatternRegistry { } private fillDefaults(): void { - this.add('msCompile', { - regexp: /^(?:\s+\d+>)?(\S.*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\)\s*:\s+(error|warning|info)\s+(\w+\d+)\s*:\s*(.*)$/, - kind: ProblemLocationKind.Location, - file: 1, - location: 2, - severity: 3, - code: 4, - message: 5 - }); + // this.add('msCompile', { + // regexp: /^(?:\s+\d+>)?(\S.*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\)\s*:\s+(error|warning|info)\s+(\w+\d+)\s*:\s*(.*)$/, + // kind: ProblemLocationKind.Location, + // file: 1, + // location: 2, + // severity: 3, + // code: 4, + // message: 5 + // }); this.add('gulp-tsc', { regexp: /^([^\s].*)\((\d+|\d+,\d+|\d+,\d+,\d+,\d+)\):\s+(\d+)\s+(.*)$/, kind: ProblemLocationKind.Location, @@ -1784,14 +1784,14 @@ class ProblemMatcherRegistryImpl implements IProblemMatcherRegistry { } private fillDefaults(): void { - this.add({ - name: 'msCompile', - label: localize('msCompile', 'Microsoft compiler problems'), - owner: 'msCompile', - applyTo: ApplyToKind.allDocuments, - fileLocation: FileLocationKind.Absolute, - pattern: ProblemPatternRegistry.get('msCompile') - }); + // this.add({ + // name: 'msCompile', + // label: localize('msCompile', 'Microsoft compiler problems'), + // owner: 'msCompile', + // applyTo: ApplyToKind.allDocuments, + // fileLocation: FileLocationKind.Absolute, + // pattern: ProblemPatternRegistry.get('msCompile') + // }); this.add({ name: 'lessCompile', diff --git a/src/vs/workbench/contrib/tasks/common/taskTemplates.ts b/src/vs/workbench/contrib/tasks/common/taskTemplates.ts index c367ede9..36c4bddc 100644 --- a/src/vs/workbench/contrib/tasks/common/taskTemplates.ts +++ b/src/vs/workbench/contrib/tasks/common/taskTemplates.ts @@ -12,7 +12,7 @@ export interface TaskEntry extends IQuickPickItem { autoDetect: boolean; content: string; } - +/* const dotnetBuild: TaskEntry = { id: 'dotnetCore', label: '.NET Core', @@ -81,6 +81,7 @@ const msbuild: TaskEntry = { '}' ].join('\n') }; +*/ const command: TaskEntry = { id: 'externalCommand', @@ -135,7 +136,7 @@ const maven: TaskEntry = { let _templates: TaskEntry[] | null = null; export function getTemplates(): TaskEntry[] { if (!_templates) { - _templates = [dotnetBuild, msbuild, maven].sort((a, b) => { + _templates = [maven].sort((a, b) => { return (a.sort || a.label).localeCompare(b.sort || b.label); }); _templates.push(command);