Interface CodeActionParams

The parameters of a CodeActionRequest.

interface CodeActionParams {
    context: CodeActionContext;
    partialResultToken?: ProgressToken;
    range: Range;
    textDocument: TextDocumentIdentifier;
    workDoneToken?: ProgressToken;
}

Hierarchy (View Summary)

Properties

Context carrying additional information.

partialResultToken?: ProgressToken

An optional token that a server can use to report partial results (e.g. streaming) to the client.

range: Range

The range for which the command was invoked.

The document in which the command was invoked.

workDoneToken?: ProgressToken

An optional token that a server can use to report work done progress.