移除任务task菜单中'msbuild,donet,ms编译器问题'等菜单.
This commit is contained in:
parent
9a2320b0e1
commit
56c98b8d0d
|
@ -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',
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue