struct

LSP::WorkspaceEditClientCapabilities

Inherits JSON::Serializable < Struct < Value < Object

Constructors

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

Instance methods

change_annotation_support

Whether the client in general supports change annotations on text edits, create file, rename file and delete file changes.

Source
change_annotation_support=(change_annotation_support : ChangeAnnotationSupport | Nil)

Whether the client in general supports change annotations on text edits, create file, rename file and delete file changes.

Source
document_changes

The client supports versioned document changes in WorkspaceEdits

Source
document_changes=(document_changes : Bool | Nil)

The client supports versioned document changes in WorkspaceEdits

Source
failure_handling

The failure handling strategy of a client if applying the workspace edit fails.

Source
failure_handling=(failure_handling : FailureHandlingKind | Nil)

The failure handling strategy of a client if applying the workspace edit fails.

Source
normalizes_line_endings

Whether the client normalizes line endings to the client specific setting. If set to true the client will normalize line ending characters in a workspace edit to the client specific new line character(s).

Source
normalizes_line_endings=(normalizes_line_endings : Bool | Nil)

Whether the client normalizes line endings to the client specific setting. If set to true the client will normalize line ending characters in a workspace edit to the client specific new line character(s).

Source
resource_operations

The resource operations the client supports. Clients should at least support 'create', 'rename' and 'delete' files and folders.

Source
resource_operations=(resource_operations : Array(ResourceOperationKind) | Nil)

The resource operations the client supports. Clients should at least support 'create', 'rename' and 'delete' files and folders.

Source

Nested types