Model for inline completions.


Implemented by


Current inline completions.

cursor: IPosition

Original placement of cursor.

filterTextChanged: ISignal<InlineCompleter.IModel, IndexMap>

A signal emitted when filter text is updated. Emits a mapping from old to new index for items after filtering.

isDisposed: boolean

Test whether the object has been disposed.


This property is always safe to access.

A signal emitted when new information about progress is available.

suggestionsChanged: ISignal<InlineCompleter.IModel, ISuggestionsChangedArgs>

A signal emitted when new suggestions are set on the model.


  • Append completions while preserving new ones.

    Returns void

  • Dispose of the resources held by the object.


    If the object's dispose method is called more than once, all calls made after the first will be a no-op.

    Undefined Behavior

    It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.

    Returns void

  • Handle cursor selection change.


    • range: IRange

    Returns void

  • Handle a source change.


    Returns void

  • Notify model about progress in generation of completion candidates by providers.


    Returns void

  • Reset completer model.

    Returns void

  • Set completions clearing existing ones.

    Returns void

Generated using TypeDoc