Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
import ASTNode from "../ast/ASTNode";
import CodeLocation from "../CodeLocation";
import CompletionSymbol from "./CompletionSymbol";
export default interface CompletionProvider {
/**
* WHen set to true it means that this Completion source can work without an AST, for example when the file is syntactically invalid.
*/
textOnly: boolean;
/**
* When set to true it means that no other completion source should activate when this one activates,
*/
exclusive: boolean;
shouldActivate(ast: ASTNode, loc: CodeLocation): boolean;
getSymbolsAtLocation(
ast: ASTNode,
loc: CodeLocation
): Promise<CompletionSymbol[]>;
}
2d56448eaThis file is pinned to the selected release. Download the original to open it in your design tool.