Interface IInlineCompletionContextAlpha

The context which will be passed to the inline completion provider.

interface IInlineCompletionContext {
    session?: null | ISessionConnection;
    triggerKind: InlineCompletionTriggerKind;
    widget: Widget;


session?: null | ISessionConnection

The session extracted from widget for convenience.

Describes how an inline completion provider was triggered.

widget: Widget

The widget (notebook, console, code editor) which invoked the inline completer