@microsoft/compose-language-service
Version:
Language service for Docker Compose documents
21 lines (20 loc) • 1.08 kB
TypeScript
/*!--------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See LICENSE in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import * as vscode from 'vscode';
import type { ClientCapabilities, FeatureState, LanguageClient, StaticFeature } from 'vscode-languageclient/node';
/**
* This class implements functionality to allow the language server to request information about an open document (including tab size and line endings), and also
* notify the language server if those settings change
*/
export declare class DocumentSettingsClientFeature implements StaticFeature, vscode.Disposable {
private readonly client;
private disposables;
constructor(client: LanguageClient);
clear(): void;
getState(): FeatureState;
fillClientCapabilities(capabilities: ClientCapabilities): void;
initialize(): void;
dispose(): void;
}