Types.WorkspaceEdit
type t = {
changeAnnotations : (ChangeAnnotationIdentifier.t, ChangeAnnotation.t)
Import.Json.Assoc.t
option;
changes : (DocumentUri.t, TextEdit.t list) Import.Json.Assoc.t option;
documentChanges : [ `TextDocumentEdit of TextDocumentEdit.t
| `CreateFile of CreateFile.t
| `RenameFile of RenameFile.t
| `DeleteFile of DeleteFile.t ]
list
option;
}
val create :
?changeAnnotations:
(ChangeAnnotationIdentifier.t, ChangeAnnotation.t) Import.Json.Assoc.t ->
?changes:(DocumentUri.t, TextEdit.t list) Import.Json.Assoc.t ->
?documentChanges:
[ `TextDocumentEdit of TextDocumentEdit.t
| `CreateFile of CreateFile.t
| `RenameFile of RenameFile.t
| `DeleteFile of DeleteFile.t ]
list ->
unit ->
t
include Ppx_yojson_conv_lib.Yojsonable.S with type t := t
val t_of_yojson : Yojson.Safe.t -> t
val yojson_of_t : t -> Yojson.Safe.t