Types.CompletionItem
type t = {
additionalTextEdits : TextEdit.t list option;
command : Command.t option;
commitCharacters : string list option;
data : Import.Json.t option;
deprecated : bool option;
detail : string option;
documentation : [ `String of string | `MarkupContent of MarkupContent.t ]
option;
filterText : string option;
insertText : string option;
insertTextFormat : InsertTextFormat.t option;
insertTextMode : InsertTextMode.t option;
kind : CompletionItemKind.t option;
label : string;
labelDetails : CompletionItemLabelDetails.t option;
preselect : bool option;
sortText : string option;
textEdit : [ `TextEdit of TextEdit.t
| `InsertReplaceEdit of InsertReplaceEdit.t ]
option;
textEditText : string option;
}
val create :
?additionalTextEdits:TextEdit.t list ->
?command:Command.t ->
?commitCharacters:string list ->
?data:Import.Json.t ->
?deprecated:bool ->
?detail:string ->
?documentation:[ `String of string | `MarkupContent of MarkupContent.t ] ->
?filterText:string ->
?insertText:string ->
?insertTextFormat:InsertTextFormat.t ->
?insertTextMode:InsertTextMode.t ->
?kind:CompletionItemKind.t ->
label:string ->
?labelDetails:CompletionItemLabelDetails.t ->
?preselect:bool ->
?sortText:string ->
?tags:CompletionItemTag.t list ->
?textEdit:
[ `TextEdit of TextEdit.t | `InsertReplaceEdit of InsertReplaceEdit.t ] ->
?textEditText:string ->
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