package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type general = {
  1. regularExpressions : RegularExpressionsClientCapabilities.t option;
  2. markdown : MarkdownClientCapabilities.t option;
  3. positionEncodings : PositionEncodingKind.t list option;
}
val create_general : ?regularExpressions:RegularExpressionsClientCapabilities.t -> ?markdown:MarkdownClientCapabilities.t -> ?positionEncodings:PositionEncodingKind.t list -> unit -> general
type window = {
  1. workDoneProgress : bool option;
  2. showMessage : ShowMessageRequestClientCapabilities.t option;
  3. showDocument : ShowDocumentClientCapabilities.t option;
}
val create_window : ?workDoneProgress:bool -> ?showMessage:ShowMessageRequestClientCapabilities.t -> ?showDocument:ShowDocumentClientCapabilities.t -> unit -> window
type fileOperations = {
  1. dynamicRegistration : bool option;
  2. didCreate : bool option;
  3. willCreate : bool option;
  4. didRename : bool option;
  5. willRename : bool option;
  6. didDelete : bool option;
  7. willDelete : bool option;
}
val create_fileOperations : ?dynamicRegistration:bool -> ?didCreate:bool -> ?willCreate:bool -> ?didRename:bool -> ?willRename:bool -> ?didDelete:bool -> ?willDelete:bool -> unit -> fileOperations
type workspace = {
  1. applyEdit : bool option;
  2. workspaceEdit : WorkspaceEditClientCapabilities.t option;
  3. didChangeConfiguration : DidChangeConfigurationClientCapabilities.t option;
  4. didChangeWatchedFiles : DidChangeWatchedFilesClientCapabilities.t option;
  5. symbol : WorkspaceSymbolClientCapabilities.t option;
  6. executeCommand : ExecuteCommandClientCapabilities.t option;
  7. workspaceFolders : bool option;
  8. configuration : bool option;
  9. semanticTokens : SemanticTokensWorkspaceClientCapabilities.t option;
  10. codeLens : CodeLensWorkspaceClientCapabilities.t option;
  11. fileOperations : fileOperations option;
}
val create_workspace : ?applyEdit:bool -> ?workspaceEdit:WorkspaceEditClientCapabilities.t -> ?didChangeConfiguration:DidChangeConfigurationClientCapabilities.t -> ?didChangeWatchedFiles:DidChangeWatchedFilesClientCapabilities.t -> ?symbol:WorkspaceSymbolClientCapabilities.t -> ?executeCommand:ExecuteCommandClientCapabilities.t -> ?workspaceFolders:bool -> ?configuration:bool -> ?semanticTokens:SemanticTokensWorkspaceClientCapabilities.t -> ?codeLens:CodeLensWorkspaceClientCapabilities.t -> ?fileOperations:fileOperations -> unit -> workspace
type t = {
  1. workspace : workspace option;
  2. textDocument : TextDocumentClientCapabilities.t option;
  3. window : window option;
  4. general : general option;
  5. experimental : Import.Json.t option;
}
val create : ?workspace:workspace -> ?textDocument:TextDocumentClientCapabilities.t -> ?window:window -> ?general:general -> ?experimental: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.