class LSProtocol::WorkspaceEditClientCapabilities
- LSProtocol::WorkspaceEditClientCapabilities
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .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)
Instance Method Summary
-
#change_annotation_support : ChangeAnnotationsSupportOptions | Nil
Whether the client in general supports change annotations on text edits, create file, rename file and delete file changes.
-
#document_changes : Bool | Nil
The client supports versioned document changes in
WorkspaceEdit
s -
#failure_handling : FailureHandlingKind | Nil
The failure handling strategy of a client if applying the workspace edit fails.
-
#metadata_support : Bool | Nil
Whether the client supports
WorkspaceEditMetadata
inWorkspaceEdit
s. -
#normalizes_line_endings : Bool | Nil
Whether the client normalizes line endings to the client specific setting.
-
#resource_operations : Array(ResourceOperationKind) | Nil
The resource operations the client supports.
-
#snippet_edit_support : Bool | Nil
Whether the client supports snippets as text edits.
Constructor Detail
Instance Method Detail
Whether the client in general supports change annotations on text edits, create file, rename file and delete file changes.
@since 3.16.0
The client supports versioned document changes in WorkspaceEdit
s
The failure handling strategy of a client if applying the workspace edit fails.
@since 3.13.0
Whether the client supports WorkspaceEditMetadata
in WorkspaceEdit
s.
@since 3.18.0 @proposed
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
The resource operations the client supports. Clients should at least support 'create', 'rename' and 'delete' files and folders.
@since 3.13.0
Whether the client supports snippets as text edits.
@since 3.18.0 @proposed