class LSProtocol::ApplyWorkspaceEditParams

Overview

The parameters passed via an apply workspace edit request.

Included Modules

Defined in:

lsprotocol/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(edit : WorkspaceEdit | Nil, label : String | Nil = nil, metadata : WorkspaceEditMetadata | Nil = nil) #

[View source]

Instance Method Detail

def edit : WorkspaceEdit #

The edits to apply.


[View source]
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.


[View source]
def metadata : WorkspaceEditMetadata | Nil #

Additional data about the edit.

@since 3.18.0 @proposed


[View source]