update 'open' doc, #9651

This commit is contained in:
Johannes Rieken 2016-07-25 17:44:02 +02:00
parent da56a2cd40
commit f7cdcfe25f

View file

@ -218,7 +218,7 @@ class ExtHostApiCommands {
this._register('vscode.open', (resource: URI, column: vscode.ViewColumn) => {
return this._commands.executeCommand('_workbench.open', [resource, typeConverters.fromViewColumn(column)]);
}, {
description: 'Opens the provided resource in the editor. Can be a text or binary file.',
description: 'Opens the provided resource in the editor. Can be a text or binary file, or a http(s) url',
args: [
{ name: 'resource', description: 'Resource to open', constraint: URI },
{ name: 'column', description: '(optional) Column in which to open', constraint: v => v === void 0 || typeof v === 'number' }