@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>
11 lines (10 loc) • 621 B
TypeScript
import { JSONPath, MarkedString } from 'vscode-json-languageservice';
import { GetTranslationsForURI } from '../../../translations';
import { LiquidRequestContext, RequestContext } from '../../RequestContext';
import { JSONHoverProvider } from '../JSONHoverProvider';
export declare class SettingsHoverProvider implements JSONHoverProvider {
private getDefaultSchemaTranslations;
constructor(getDefaultSchemaTranslations: GetTranslationsForURI);
canHover(context: RequestContext, path: JSONPath): context is LiquidRequestContext;
hover(context: RequestContext, path: JSONPath): Promise<MarkedString[]>;
}