mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
update 'open' doc, #9651
This commit is contained in:
@@ -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' }
|
||||
|
||||
Reference in New Issue
Block a user