diff --git a/src/vs/workbench/api/common/extHostCommands.ts b/src/vs/workbench/api/common/extHostCommands.ts index 2c03c57577d..f2456398c95 100644 --- a/src/vs/workbench/api/common/extHostCommands.ts +++ b/src/vs/workbench/api/common/extHostCommands.ts @@ -116,7 +116,10 @@ export class ExtHostCommands implements ExtHostCommandsShape { } $handleDidExecuteCommand(command: ICommandEvent): void { - this._onDidExecuteCommand.fire({ command: command.commandId, arguments: command.args }); + this._onDidExecuteCommand.fire({ + command: command.commandId, + arguments: command.args.map(arg => this._argumentProcessors.reduce((r, p) => p.processArgument(r), arg)) + }); } executeCommand(id: string, ...args: any[]): Promise {