update 'open' doc, #9651
This commit is contained in:
parent
da56a2cd40
commit
f7cdcfe25f
|
@ -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' }
|
||||
|
|
Loading…
Reference in a new issue