Skip to content

Commit

Permalink
1.44.x's new task pick won't work with different names. The
Browse files Browse the repository at this point in the history
symptom are tasks in the Recent list that don't work, and
the per-provider presentation of tasks that does not work either.

See microsoft/vscode#95971
  • Loading branch information
doudou committed Apr 27, 2020
1 parent b11fb07 commit 5f49bec
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@
"watch",
"update-config",
"update",
"build",
"checkout"
],
"description": "The operation mode"
Expand Down
4 changes: 3 additions & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ export function activate(extensionContext: vscode.ExtensionContext) {
)

extensionContext.subscriptions.push(
vscode.workspace.registerTaskProvider('autoproj', autoprojTaskProvider));
vscode.workspace.registerTaskProvider('autoproj-workspace', autoprojTaskProvider));
extensionContext.subscriptions.push(
vscode.workspace.registerTaskProvider('autoproj-package', autoprojTaskProvider));

vscodeWorkspaceManager.initializeWorkspaces(vscodeWrapper.workspaceFolders);
autoprojTaskProvider.reloadTasks();
Expand Down

0 comments on commit 5f49bec

Please sign in to comment.