Interface AIEditorSelectionResolver
interface AIEditorSelectionResolver { priority?: number; resolveSelection(widget,
options,
uri?): Promise<undefined | RecursivePartial<Range>>; } Properties
Optional
priority
priority?: number
Methods
resolveSelection
- resolveSelection(widget, options, uri?): Promise<undefined | RecursivePartial<Range>>
Parameters
- widget: EditorWidget
- options: EditorOpenerOptions
Optional
uri: URI
Returns Promise<undefined | RecursivePartial<Range>>
The priority of the resolver. A higher value resolver will be called before others.