package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. additionalTextEdits : TextEdit.t list option;
  2. command : Command.t option;
  3. commitCharacters : string list option;
  4. data : Import.Json.t option;
  5. deprecated : bool option;
  6. detail : string option;
  7. documentation : [ `String of string | `MarkupContent of MarkupContent.t ] option;
  8. filterText : string option;
  9. insertText : string option;
  10. insertTextFormat : InsertTextFormat.t option;
  11. insertTextMode : InsertTextMode.t option;
  12. kind : CompletionItemKind.t option;
  13. label : string;
  14. labelDetails : CompletionItemLabelDetails.t option;
  15. preselect : bool option;
  16. sortText : string option;
  17. tags : CompletionItemTag.t list option;
  18. textEdit : [ `TextEdit of TextEdit.t | `InsertReplaceEdit of InsertReplaceEdit.t ] option;
  19. 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