@shopify/theme-language-server-common
Version:
<h1 align="center" style="position: relative;" > <br> <img src="https://github.com/Shopify/theme-check-vscode/blob/main/images/shopify_glyph.png?raw=true" alt="logo" width="141" height="160"> <br> Theme Language Server </h1>
10 lines (9 loc) • 478 B
TypeScript
import { CompletionItem } from 'vscode-languageserver';
import { LiquidCompletionParams } from '../params';
import { Provider } from './common';
export type GetSnippetNamesForURI = (uri: string) => Promise<string[]>;
export declare class RenderSnippetCompletionProvider implements Provider {
private readonly getSnippetNamesForURI;
constructor(getSnippetNamesForURI?: GetSnippetNamesForURI);
completions(params: LiquidCompletionParams): Promise<CompletionItem[]>;
}