Theia API Documentation v1.65.0
    Preparing search index...

    Hierarchy

    • StandaloneGotoLineQuickAccessProvider
      • GotoLineQuickAccess
    Index

    Constructors

    Properties

    onDidActiveTextEditorControlChange: Event<any>

    Subclasses to provide an event when the active editor control changes.

    options?: IEditorNavigationQuickAccessOptions
    PREFIX: string

    Accessors

    Methods

    • Parameters

      • editor: IEditor
      • range: IRange

      Returns void

    • Subclasses to implement if they can operate on the text editor.

      Parameters

      • editor: IEditor

      Returns boolean

    • Parameters

      • editor: IEditor

      Returns void

    • Parameters

      • editor: IEditor | IDiffEditor

      Returns undefined | ITextModel

    • Parameters

      • __namedParameters: IQuickAccessTextEditorContext
      • options: {
            forceSideBySide?: boolean;
            keyMods: IKeyMods;
            preserveFocus?: boolean;
            range: IRange;
        }

      Returns void

    • Called whenever a prefix was typed into quick pick that matches the provider.

      Parameters

      • picker: IQuickPick<IQuickPickItem, { useSeparators: true }>

        the picker to use for showing provider results. The picker is automatically shown after the method returns, no need to call show().

      • token: CancellationToken

        providers have to check the cancellation token everytime after a long running operation or from event handlers because it could be that the picker has been closed or changed meanwhile. The token can be used to find out that the picker was closed without picking an entry (e.g. was canceled by the user).

      • OptionalrunOptions: IQuickAccessProviderRunOptions

      Returns IDisposable

      a disposable that will automatically be disposed when the picker closes or is replaced by another picker.

    • Subclasses to implement to provide picks for the picker when no editor is active.

      Parameters

      • picker: IQuickPick<IGotoLineQuickPickItem, { useSeparators: true }>

      Returns IDisposable

    • Subclasses to implement to provide picks for the picker when an editor is active.

      Parameters

      • context: IQuickAccessTextEditorContext
      • picker: IQuickPick<IGotoLineQuickPickItem, { useSeparators: true }>
      • token: CancellationToken

      Returns IDisposable