Skip to content

CodeActionClientCapabilities

The Client Capabilities of a CodeActionRequest.

optional 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


optional dataSupport?: boolean

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

3.16.0


optional disabledSupport?: boolean

Whether code action supports the disabled property.

3.16.0


optional documentationSupport?: boolean

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

3.18.0


optional dynamicRegistration?: boolean

Whether code action supports dynamic registration.


optional 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


optional isPreferredSupport?: boolean

Whether code action supports the isPreferred property.

3.15.0


optional resolveSupport?: ClientCodeActionResolveOptions

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

3.16.0


optional tagSupport?: CodeActionTagOptions

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

3.18.0