Interface CompletionProvider

interface CompletionProvider {
    exclusive: boolean;
    textOnly: boolean;
    getSymbolsAtLocation(ast: ASTNode, loc: CodeLocation): Promise<CompletionSymbol[]>;
    shouldActivate(ast: ASTNode, loc: CodeLocation): boolean;
}

Implemented by

Properties

exclusive: boolean

When set to true it means that no other completion source should activate when this one activates,

textOnly: boolean

WHen set to true it means that this Completion source can work without an AST, for example when the file is syntactically invalid.

Methods