Class CodeActionCapabilities

    • Constructor Detail

      • CodeActionCapabilities

        public CodeActionCapabilities()
      • CodeActionCapabilities

        public CodeActionCapabilities​(java.lang.Boolean dynamicRegistration)
      • CodeActionCapabilities

        public CodeActionCapabilities​(CodeActionLiteralSupportCapabilities codeActionLiteralSupport,
                                      java.lang.Boolean dynamicRegistration,
                                      java.lang.Boolean isPreferredSupport)
    • Method Detail

      • getCodeActionLiteralSupport

        public CodeActionLiteralSupportCapabilities getCodeActionLiteralSupport()
        The client support code action literals as a valid response of the `textDocument/codeAction` request.
      • setCodeActionLiteralSupport

        public void setCodeActionLiteralSupport​(CodeActionLiteralSupportCapabilities codeActionLiteralSupport)
        The client support code action literals as a valid response of the `textDocument/codeAction` request.
      • getIsPreferredSupport

        public java.lang.Boolean getIsPreferredSupport()
        Whether code action supports the CodeAction.isPreferred property.

        Since 3.15.0

      • setIsPreferredSupport

        public void setIsPreferredSupport​(java.lang.Boolean isPreferredSupport)
        Whether code action supports the CodeAction.isPreferred property.

        Since 3.15.0

      • getDisabledSupport

        public java.lang.Boolean getDisabledSupport()
        Whether code action supports the CodeAction.disabled property.

        Since 3.16.0

      • setDisabledSupport

        public void setDisabledSupport​(java.lang.Boolean disabledSupport)
        Whether code action supports the CodeAction.disabled property.

        Since 3.16.0

      • getDataSupport

        public java.lang.Boolean getDataSupport()
        Whether code action supports the CodeAction.data property which is preserved between a `textDocument/codeAction` and a `codeAction/resolve` request.

        Since 3.16.0

      • setDataSupport

        public void setDataSupport​(java.lang.Boolean dataSupport)
        Whether code action supports the CodeAction.data property which is preserved between a `textDocument/codeAction` and a `codeAction/resolve` request.

        Since 3.16.0

      • getResolveSupport

        public CodeActionResolveSupportCapabilities getResolveSupport()
        Whether the client supports resolving additional code action properties via a separate `codeAction/resolve` request.

        Since 3.16.0

      • setResolveSupport

        public void setResolveSupport​(CodeActionResolveSupportCapabilities resolveSupport)
        Whether the client supports resolving additional code action properties via a separate `codeAction/resolve` request.

        Since 3.16.0

      • getHonorsChangeAnnotations

        public java.lang.Boolean getHonorsChangeAnnotations()
        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.

        Since 3.16.0

      • setHonorsChangeAnnotations

        public void setHonorsChangeAnnotations​(java.lang.Boolean 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.

        Since 3.16.0