mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-08 23:32:36 -05:00
Remove tasks and problems tools from Agents window (#323978)
This commit is contained in:
@@ -36,18 +36,21 @@ export class ClientToolSetsContribution extends Disposable implements IWorkbench
|
||||
) {
|
||||
super();
|
||||
|
||||
this._register(this._registerDynamicToolSet(toolsService, {
|
||||
id: 'vscode-tasks',
|
||||
referenceName: 'vscodeTasks',
|
||||
icon: Codicon.tasklist,
|
||||
description: localize('clientToolSet.tasks.description', "Tasks"),
|
||||
detail: localize('clientToolSet.tasks.detail', "Create and run tasks defined in your workspace."),
|
||||
members: [
|
||||
'createAndRunTask',
|
||||
'runTask',
|
||||
'getTaskOutput',
|
||||
],
|
||||
}));
|
||||
if (!workspaceService.isSessionsWindow) {
|
||||
this._register(this._registerDynamicToolSet(toolsService, {
|
||||
id: 'vscode-tasks',
|
||||
referenceName: 'vscodeTasks',
|
||||
icon: Codicon.tasklist,
|
||||
description: localize('clientToolSet.tasks.description', "Tasks and Problems"),
|
||||
detail: localize('clientToolSet.tasks.detail', "Create and run tasks and inspect workspace problems."),
|
||||
members: [
|
||||
'createAndRunTask',
|
||||
'runTask',
|
||||
'getTaskOutput',
|
||||
'problems',
|
||||
],
|
||||
}));
|
||||
}
|
||||
|
||||
this._register(this._registerDynamicToolSet(toolsService, {
|
||||
id: 'vscode-browser',
|
||||
@@ -67,7 +70,6 @@ export class ClientToolSetsContribution extends Disposable implements IWorkbench
|
||||
members: [
|
||||
'runTests',
|
||||
'testFailure',
|
||||
'problems',
|
||||
'rename',
|
||||
'usages',
|
||||
'extensions',
|
||||
|
||||
Reference in New Issue
Block a user