ipc: remove vscode:windowOpen, _workbench.ipc

#10587
This commit is contained in:
Joao Moreno
2016-11-03 11:18:33 +01:00
parent e9b674a5d3
commit ae63b19547
10 changed files with 48 additions and 38 deletions

View File

@@ -188,7 +188,7 @@ export class ExtHostApiCommands {
return this._commands.executeCommand('_files.openFolderPicker', forceNewWindow);
}
return this._commands.executeCommand('_workbench.ipc', 'vscode:windowOpen', [[uri.fsPath], forceNewWindow]);
return this._commands.executeCommand('_files.windowOpen', [uri.fsPath], forceNewWindow);
}, {
description: 'Open a folder in the current window or new window depending on the newWindow argument. Note that opening in the same window will shutdown the current extension host process and start a new one on the given folder unless the newWindow parameter is set to true.',
args: [