@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>
14 lines (13 loc) • 792 B
TypeScript
import { CompletionItem, Range } from 'vscode-languageserver';
import { AugmentedSourceCode, DocumentManager } from '../../documents';
import { LiquidCompletionParams } from '../params';
import { Provider } from './common';
import { LiquidHtmlNode } from '@shopify/liquid-html-parser';
export declare class HtmlAttributeCompletionProvider implements Provider {
private readonly documentManager;
constructor(documentManager: DocumentManager);
completions(params: LiquidCompletionParams): Promise<CompletionItem[]>;
hasExistingAttributeValue(attributeTagRange: Range, document: AugmentedSourceCode): boolean;
hasLiquidTag(attributeTagRange: Range, document: AugmentedSourceCode): boolean;
attributeTagRange(node: LiquidHtmlNode, document: AugmentedSourceCode): Range;
}