class

LSProtocol::WorkspaceEditClientCapabilities

Inherits JSON::Serializable / Reference / Object

Constructors

new(pull : JSON::PullParser)
Source
new(change_annotation_support : ChangeAnnotationsSupportOptions | Nil = nil, document_changes : Bool | Nil = nil, failure_handling : FailureHandlingKind | Nil = nil, metadata_support : Bool | Nil = nil, normalizes_line_endings : Bool | Nil = nil, resource_operations : Array(ResourceOperationKind) | Nil = nil, snippet_edit_support : Bool | Nil = nil)
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.

@since 3.16.0

Source
document_changes

The client supports versioned document changes in WorkspaceEdits

Source
failure_handling

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

@since 3.13.0

Source
metadata_support

Whether the client supports WorkspaceEditMetadata in WorkspaceEdits.

@since 3.18.0 @proposed

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-specified new line character.

@since 3.16.0

Source
resource_operations

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

@since 3.13.0

Source
snippet_edit_support

Whether the client supports snippets as text edits.

@since 3.18.0 @proposed

Source