struct

LSP::ApplyWorkspaceEditResult

Inherits JSON::Serializable < Struct < Value < Object

Constructors

new(pull : JSON::PullParser)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

applied

Indicates whether the edit was applied or not.

Source
applied=(applied : Bool)

Indicates whether the edit was applied or not.

Source
failed_change

Depending on the client's failure handling strategy failedChange might contain the index of the change that failed. This property is only available if the client signals a failureHandling strategy in its client capabilities.

Source
failed_change=(failed_change : UInt32 | Nil)

Depending on the client's failure handling strategy failedChange might contain the index of the change that failed. This property is only available if the client signals a failureHandling strategy in its client capabilities.

Source
failure_reason

An optional textual description for why the edit was not applied. This may be used by the server for diagnostic logging or to provide a suitable error for a request that triggered the edit.

Source
failure_reason=(failure_reason : String | Nil)

An optional textual description for why the edit was not applied. This may be used by the server for diagnostic logging or to provide a suitable error for a request that triggered the edit.

Source