Interface CodeActionClientCapabilities

The Client Capabilities of a CodeActionRequest.

interface CodeActionClientCapabilities {
    codeActionLiteralSupport?: ClientCodeActionLiteralOptions;
    dataSupport?: boolean;
    disabledSupport?: boolean;
    documentationSupport?: boolean;
    dynamicRegistration?: boolean;
    honorsChangeAnnotations?: boolean;
    isPreferredSupport?: boolean;
    resolveSupport?: ClientCodeActionResolveOptions;
    tagSupport?: CodeActionTagOptions;
}

Properties

codeActionLiteralSupport?: ClientCodeActionLiteralOptions

The client support code action literals of type CodeAction as a valid response of the textDocument/codeAction request. If the property is not set the request can only return Command literals.

3.8.0

dataSupport?: boolean

Whether code action supports the data property which is preserved between a textDocument/codeAction and a codeAction/resolve request.

3.16.0

disabledSupport?: boolean

Whether code action supports the disabled property.

3.16.0

documentationSupport?: boolean

Whether the client supports documentation for a class of code actions.

3.18.0

dynamicRegistration?: boolean

Whether code action supports dynamic registration.

honorsChangeAnnotations?: boolean

Whether the client honors the change annotations in text edits and resource operations returned via the CodeAction#edit property by for example presenting the workspace edit in the user interface and asking for confirmation.

3.16.0

isPreferredSupport?: boolean

Whether code action supports the isPreferred property.

3.15.0

Whether the client supports resolving additional code action properties via a separate codeAction/resolve request.

3.16.0

Client supports the tag property on a code action. Clients supporting tags have to handle unknown tags gracefully.

3.18.0 - proposed