Documentation

CodeActionClientCapabilities
in package

Table of Contents

Properties

$codeActionLiteralSupport  : CodeActionClientCapabilitiesCodeActionLiteralSupport|null
The client supports code action literals as a valid response of the `textDocument/codeAction` request.
$dataSupport  : bool|null
Whether code action supports the `data` property which is preserved between a `textDocument/codeAction` and a `codeAction/resolve` request.
$disabledSupport  : bool|null
Whether code action supports the `disabled` property.
$dynamicRegistration  : bool|null
Whether code action supports dynamic registration.
$honorsChangeAnnotations  : bool|null
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.
$isPreferredSupport  : bool|null
Whether code action supports the `isPreferred` property.
$resolveSupport  : CodeActionClientCapabilitiesResolveSupport|null
Whether the client supports resolving additional code action properties via a separate `codeAction/resolve` request.

Methods

__construct()  : mixed

Properties

$dataSupport

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

public bool|null $dataSupport
Tags
since
3.16.0

$disabledSupport

Whether code action supports the `disabled` property.

public bool|null $disabledSupport
Tags
since
3.16.0

$honorsChangeAnnotations

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.

public bool|null $honorsChangeAnnotations
Tags
since
3.16.0

$isPreferredSupport

Whether code action supports the `isPreferred` property.

public bool|null $isPreferredSupport
Tags
since
3.15.0

Methods

__construct()

public __construct([bool|null $dynamicRegistration = null ][, CodeActionClientCapabilitiesCodeActionLiteralSupport|null $codeActionLiteralSupport = null ][, bool|null $isPreferredSupport = null ][, bool|null $disabledSupport = null ][, bool|null $dataSupport = null ][, CodeActionClientCapabilitiesResolveSupport|null $resolveSupport = null ][, bool|null $honorsChangeAnnotations = null ]) : mixed
Parameters
$dynamicRegistration : bool|null = null
$codeActionLiteralSupport : CodeActionClientCapabilitiesCodeActionLiteralSupport|null = null
$isPreferredSupport : bool|null = null
$disabledSupport : bool|null = null
$dataSupport : bool|null = null
$resolveSupport : CodeActionClientCapabilitiesResolveSupport|null = null
$honorsChangeAnnotations : bool|null = null

        
On this page

Search results