interface Completer {
    hideInlinePreview?: boolean;
    id?: string;
    identifierRegexps?: RegExp[];
    insertMatch?: (editor: Editor, data: Completion) => void;
    onInsert?: (editor: Editor, completion: Completion) => void;
    onSeen?: (editor: Editor, completion: Completion) => void;
    triggerCharacters?: string[];
    cancel(): void;
    getCompletions(
        editor: Editor,
        session: EditSession,
        position: Point,
        prefix: string,
        callback: CompleterCallback,
    ): void;
    getDocTooltip(item: Completion): string | void | Completion;
}

Properties

hideInlinePreview?: boolean
id?: string
identifierRegexps?: RegExp[]
insertMatch?: (editor: Editor, data: Completion) => void
onInsert?: (editor: Editor, completion: Completion) => void
onSeen?: (editor: Editor, completion: Completion) => void
triggerCharacters?: string[]

Methods