class

LSProtocol::ApplyWorkspaceEditParams

Inherits JSON::Serializable / Reference / Object

The parameters passed via an apply workspace edit request.

Constructors

new(pull : JSON::PullParser)
Source
new(edit : WorkspaceEdit | Nil, label : String | Nil = nil, metadata : WorkspaceEditMetadata | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

edit

The edits to apply.

Source
label

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.

Source
metadata

Additional data about the edit.

@since 3.18.0 @proposed

Source