package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. label : string;
  2. kind : CompletionItemKind.t option;
  3. tags : CompletionItemTag.t list option;
  4. detail : string option;
  5. documentation : [ `String of string | `MarkupContent of MarkupContent.t ] option;
  6. deprecated : bool option;
  7. preselect : bool option;
  8. sortText : string option;
  9. filterText : string option;
  10. insertText : string option;
  11. insertTextFormat : InsertTextFormat.t option;
  12. insertTextMode : InsertTextMode.t option;
  13. textEdit : [ `TextEdit of TextEdit.t | `InsertReplaceEdit of InsertReplaceEdit.t ] option;
  14. additionalTextEdits : TextEdit.t list option;
  15. commitCharacters : string list option;
  16. command : Command.t option;
  17. data : Import.Json.t option;
}
val create : label:string -> ?kind:CompletionItemKind.t -> ?tags:CompletionItemTag.t list -> ?detail:string -> ?documentation:[ `String of string | `MarkupContent of MarkupContent.t ] -> ?deprecated:bool -> ?preselect:bool -> ?sortText:string -> ?filterText:string -> ?insertText:string -> ?insertTextFormat:InsertTextFormat.t -> ?insertTextMode:InsertTextMode.t -> ?textEdit: [ `TextEdit of TextEdit.t | `InsertReplaceEdit of InsertReplaceEdit.t ] -> ?additionalTextEdits:TextEdit.t list -> ?commitCharacters:string list -> ?command:Command.t -> ?data:Import.Json.t -> unit -> t
val t_of_yojson : Yojson.Safe.t -> t
val yojson_of_t : t -> Yojson.Safe.t
OCaml

Innovation. Community. Security.