class LSProtocol::ApplyWorkspaceEditParams
- LSProtocol::ApplyWorkspaceEditParams
- Reference
- Object
Overview
The parameters passed via an apply workspace edit request.
Included Modules
- JSON::Serializable
Defined in:
lsprotocol/types.crConstructors
- .new(pull : JSON::PullParser)
- .new(edit : WorkspaceEdit | Nil, label : String | Nil = nil, metadata : WorkspaceEditMetadata | Nil = nil)
Instance Method Summary
-
#edit : WorkspaceEdit
The edits to apply.
-
#label : String | Nil
An optional label of the workspace edit.
-
#metadata : WorkspaceEditMetadata | Nil
Additional data about the edit.
Constructor Detail
def self.new(edit : WorkspaceEdit | Nil, label : String | Nil = nil, metadata : WorkspaceEditMetadata | Nil = nil)
#
Instance Method Detail
def label : String | Nil
#
An optional label of the workspace edit. This label is presented in the user interface for example on an undo stack to undo the workspace edit.
def metadata : WorkspaceEditMetadata | Nil
#
Additional data about the edit.
@since 3.18.0 @proposed