Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/vs/workbench/api/node/extHostApiCommands.ts')
-rw-r--r--src/vs/workbench/api/node/extHostApiCommands.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vs/workbench/api/node/extHostApiCommands.ts b/src/vs/workbench/api/node/extHostApiCommands.ts
index 010286e9672..2b00ff6d9f6 100644
--- a/src/vs/workbench/api/node/extHostApiCommands.ts
+++ b/src/vs/workbench/api/node/extHostApiCommands.ts
@@ -418,6 +418,9 @@ export class ExtHostApiCommands {
if (codeAction.edit) {
ret.edit = typeConverters.WorkspaceEdit.to(codeAction.edit);
}
+ if (codeAction.command) {
+ ret.command = this._commands.converter.fromInternal(codeAction.command);
+ }
return ret;
}
});