Interface ICompletionContext

The context which will be passed to the completion provider.

interface ICompletionContext {
    editor?: null | CodeEditor.IEditor;
    sanitizer?: IRenderMime.ISanitizer;
    session?: null | ISessionConnection;
    widget: Widget;
}

Properties

editor?: null | CodeEditor.IEditor

The current editor.

The sanitizer used to sanitize untrusted html inputs.

session?: null | ISessionConnection

The session extracted from widget for convenience.

widget: Widget

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