UNPKG

@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>

20 lines (19 loc) 776 B
import { FileExists } from '@shopify/theme-check-common'; import { Connection } from 'vscode-languageserver'; import { RenameFilesParams } from 'vscode-languageserver-protocol'; import { DocumentManager } from '../documents'; /** * The RenameHandler is responsible for handling workspace/didRenameFiles notifications. * * Stuff we'll handle: * - When a snippet is renamed, then we'll change all the render calls * - When an asset is renamed, then we'll change the asset_url calls * - etc. */ export declare class RenameHandler { private documentManager; private fileExists; private handlers; constructor(connection: Connection, documentManager: DocumentManager, fileExists: FileExists); onDidRenameFiles(params: RenameFilesParams): Promise<void>; }