11 lines
538 B
TypeScript
11 lines
538 B
TypeScript
import type * as vscode from 'vscode-languageserver-protocol';
|
|
import { URI } from 'vscode-uri';
|
|
import type { LanguageServiceContext } from '../types';
|
|
export interface ServiceCodeActionData {
|
|
uri: string;
|
|
version: number;
|
|
original: Pick<vscode.CodeAction, 'data' | 'edit'>;
|
|
pluginIndex: number;
|
|
}
|
|
export declare function register(context: LanguageServiceContext): (uri: URI, range: vscode.Range, codeActionContext: vscode.CodeActionContext, token?: vscode.CancellationToken) => Promise<vscode.CodeAction[] | undefined>;
|