'vscode.executeSelectionRangeProvider','_executeSelectionRangeProvider','Execute selection range provider.',
[ApiCommandArgument.Uri,newApiCommandArgument<types.Position[],IPosition[]>('position','A positions in a text document',v=>Array.isArray(v)&&v.every(v=>types.Position.isPosition(v)),v=>v.map(typeConverters.Position.from))],
[ApiCommandArgument.Uri,newApiCommandArgument<types.Position[],IPosition[]>('position','A position in a text document',v=>Array.isArray(v)&&v.every(v=>types.Position.isPosition(v)),v=>v.map(typeConverters.Position.from))],
newApiCommandResult<IRange[][],types.SelectionRange[]>('A promise that resolves to an array of ranges.',result=>{
'vscode.open','_workbench.open','Opens the provided resource in the editor. Can be a text or binary file, or a http(s) url. If you need more control over the options for opening a text file, use vscode.window.showTextDocument instead.',
'vscode.open','_workbench.open','Opens the provided resource in the editor. Can be a text or binary file, or an http(s) URL. If you need more control over the options for opening a text file, use vscode.window.showTextDocument instead.',
[
ApiCommandArgument.Uri,
newApiCommandArgument<vscode.ViewColumn|typeConverters.TextEditorOpenOptions|undefined,[number?,ITextEditorOptions?]|undefined>('columnOrOptions','Either the column in which to open or editor options, see vscode.TextDocumentShowOptions',
'vscode.diff','_workbench.diff','Opens the provided resources in the diff editor to compare their contents.',
[
ApiCommandArgument.Uri.with('left','Left-hand side resource of the diff editor'),
ApiCommandArgument.Uri.with('right','Rigth-hand side resource of the diff editor'),
ApiCommandArgument.Uri.with('right','Right-hand side resource of the diff editor'),
ApiCommandArgument.String.with('title','Human readable title for the diff editor').optional(),
newApiCommandArgument<typeConverters.TextEditorOpenOptions|undefined,[number?,ITextEditorOptions?]|undefined>('columnOrOptions','Either the column in which to open or editor options, see vscode.TextDocumentShowOptions',
description:'Open a folder or workspace 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/workspace unless the newWindow parameter is set to true.',
args:[
{name:'uri',description:'(optional) Uri of the folder or workspace file to open. If not provided, a native dialog will ask the user for the folder',constraint:(value:any)=>value===undefined||valueinstanceofURI},
{name:'options',description:'(optional) Options. Object with the following properties: `forceNewWindow `: Whether to open the folder/workspace in a new window or the same. Defaults to opening in the same window. `noRecentEntry`: Wheter the opened URI will appear in the \'Open Recent\' list. Defaults to true. Note, for backward compatibility, options can also be of type boolean, representing the `forceNewWindow` setting.',constraint:(value:any)=>value===undefined||typeofvalue==='object'||typeofvalue==='boolean'}
{name:'options',description:'(optional) Options. Object with the following properties: `forceNewWindow `: Whether to open the folder/workspace in a new window or the same. Defaults to opening in the same window. `noRecentEntry`: Whether the opened URI will appear in the \'Open Recent\' list. Defaults to true. Note, for backward compatibility, options can also be of type boolean, representing the `forceNewWindow` setting.',constraint:(value:any)=>value===undefined||typeofvalue==='object'||typeofvalue==='boolean'}