package lsp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type fileOperations = {
  1. didCreate : FileOperationRegistrationOptions.t option;
  2. willCreate : FileOperationRegistrationOptions.t option;
  3. didRename : FileOperationRegistrationOptions.t option;
  4. willRename : FileOperationRegistrationOptions.t option;
  5. didDelete : FileOperationRegistrationOptions.t option;
  6. willDelete : FileOperationRegistrationOptions.t option;
}
type workspace = {
  1. workspaceFolders : WorkspaceFoldersServerCapabilities.t option;
  2. fileOperations : fileOperations option;
}
val create_workspace : ?workspaceFolders:WorkspaceFoldersServerCapabilities.t -> ?fileOperations:fileOperations -> unit -> workspace
type t = {
  1. textDocumentSync : [ `TextDocumentSyncOptions of TextDocumentSyncOptions.t | `TextDocumentSyncKind of TextDocumentSyncKind.t ] option;
  2. completionProvider : CompletionOptions.t option;
  3. hoverProvider : [ `Bool of bool | `HoverOptions of HoverOptions.t ] option;
  4. signatureHelpProvider : SignatureHelpOptions.t option;
  5. declarationProvider : [ `Bool of bool | `DeclarationOptions of DeclarationOptions.t | `DeclarationRegistrationOptions of DeclarationRegistrationOptions.t ] option;
  6. definitionProvider : [ `Bool of bool | `DefinitionOptions of DefinitionOptions.t ] option;
  7. typeDefinitionProvider : [ `Bool of bool | `TypeDefinitionOptions of TypeDefinitionOptions.t | `TypeDefinitionRegistrationOptions of TypeDefinitionRegistrationOptions.t ] option;
  8. implementationProvider : [ `Bool of bool | `ImplementationOptions of ImplementationOptions.t | `ImplementationRegistrationOptions of ImplementationRegistrationOptions.t ] option;
  9. referencesProvider : [ `Bool of bool | `ReferenceOptions of ReferenceOptions.t ] option;
  10. documentHighlightProvider : [ `Bool of bool | `DocumentHighlightOptions of DocumentHighlightOptions.t ] option;
  11. documentSymbolProvider : [ `Bool of bool | `DocumentSymbolOptions of DocumentSymbolOptions.t ] option;
  12. codeActionProvider : [ `Bool of bool | `CodeActionOptions of CodeActionOptions.t ] option;
  13. codeLensProvider : CodeLensOptions.t option;
  14. documentLinkProvider : DocumentLinkOptions.t option;
  15. colorProvider : [ `Bool of bool | `DocumentColorOptions of DocumentColorOptions.t | `DocumentColorRegistrationOptions of DocumentColorRegistrationOptions.t ] option;
  16. documentFormattingProvider : [ `Bool of bool | `DocumentFormattingOptions of DocumentFormattingOptions.t ] option;
  17. documentRangeFormattingProvider : [ `Bool of bool | `DocumentRangeFormattingOptions of DocumentRangeFormattingOptions.t ] option;
  18. documentOnTypeFormattingProvider : DocumentOnTypeFormattingOptions.t option;
  19. renameProvider : [ `Bool of bool | `RenameOptions of RenameOptions.t ] option;
  20. foldingRangeProvider : [ `Bool of bool | `FoldingRangeOptions of FoldingRangeOptions.t | `FoldingRangeRegistrationOptions of FoldingRangeRegistrationOptions.t ] option;
  21. executeCommandProvider : ExecuteCommandOptions.t option;
  22. selectionRangeProvider : [ `Bool of bool | `SelectionRangeOptions of SelectionRangeOptions.t | `SelectionRangeRegistrationOptions of SelectionRangeRegistrationOptions.t ] option;
  23. linkedEditingRangeProvider : [ `Bool of bool | `LinkedEditingRangeOptions of LinkedEditingRangeOptions.t | `LinkedEditingRangeRegistrationOptions of LinkedEditingRangeRegistrationOptions.t ] option;
  24. callHierarchyProvider : [ `Bool of bool | `CallHierarchyOptions of CallHierarchyOptions.t | `CallHierarchyRegistrationOptions of CallHierarchyRegistrationOptions.t ] option;
  25. semanticTokensProvider : [ `SemanticTokensOptions of SemanticTokensOptions.t | `SemanticTokensRegistrationOptions of SemanticTokensRegistrationOptions.t ] option;
  26. monikerProvider : [ `Bool of bool | `MonikerOptions of MonikerOptions.t | `MonikerRegistrationOptions of MonikerRegistrationOptions.t ] option;
  27. workspaceSymbolProvider : [ `Bool of bool | `WorkspaceSymbolOptions of WorkspaceSymbolOptions.t ] option;
  28. workspace : workspace option;
  29. experimental : Import.Json.t option;
}
val create : ?textDocumentSync: [ `TextDocumentSyncOptions of TextDocumentSyncOptions.t | `TextDocumentSyncKind of TextDocumentSyncKind.t ] -> ?completionProvider:CompletionOptions.t -> ?hoverProvider:[ `Bool of bool | `HoverOptions of HoverOptions.t ] -> ?signatureHelpProvider:SignatureHelpOptions.t -> ?declarationProvider: [ `Bool of bool | `DeclarationOptions of DeclarationOptions.t | `DeclarationRegistrationOptions of DeclarationRegistrationOptions.t ] -> ?definitionProvider: [ `Bool of bool | `DefinitionOptions of DefinitionOptions.t ] -> ?typeDefinitionProvider: [ `Bool of bool | `TypeDefinitionOptions of TypeDefinitionOptions.t | `TypeDefinitionRegistrationOptions of TypeDefinitionRegistrationOptions.t ] -> ?implementationProvider: [ `Bool of bool | `ImplementationOptions of ImplementationOptions.t | `ImplementationRegistrationOptions of ImplementationRegistrationOptions.t ] -> ?referencesProvider: [ `Bool of bool | `ReferenceOptions of ReferenceOptions.t ] -> ?documentHighlightProvider: [ `Bool of bool | `DocumentHighlightOptions of DocumentHighlightOptions.t ] -> ?documentSymbolProvider: [ `Bool of bool | `DocumentSymbolOptions of DocumentSymbolOptions.t ] -> ?codeActionProvider: [ `Bool of bool | `CodeActionOptions of CodeActionOptions.t ] -> ?codeLensProvider:CodeLensOptions.t -> ?documentLinkProvider:DocumentLinkOptions.t -> ?colorProvider: [ `Bool of bool | `DocumentColorOptions of DocumentColorOptions.t | `DocumentColorRegistrationOptions of DocumentColorRegistrationOptions.t ] -> ?documentFormattingProvider: [ `Bool of bool | `DocumentFormattingOptions of DocumentFormattingOptions.t ] -> ?documentRangeFormattingProvider: [ `Bool of bool | `DocumentRangeFormattingOptions of DocumentRangeFormattingOptions.t ] -> ?documentOnTypeFormattingProvider:DocumentOnTypeFormattingOptions.t -> ?renameProvider:[ `Bool of bool | `RenameOptions of RenameOptions.t ] -> ?foldingRangeProvider: [ `Bool of bool | `FoldingRangeOptions of FoldingRangeOptions.t | `FoldingRangeRegistrationOptions of FoldingRangeRegistrationOptions.t ] -> ?executeCommandProvider:ExecuteCommandOptions.t -> ?selectionRangeProvider: [ `Bool of bool | `SelectionRangeOptions of SelectionRangeOptions.t | `SelectionRangeRegistrationOptions of SelectionRangeRegistrationOptions.t ] -> ?linkedEditingRangeProvider: [ `Bool of bool | `LinkedEditingRangeOptions of LinkedEditingRangeOptions.t | `LinkedEditingRangeRegistrationOptions of LinkedEditingRangeRegistrationOptions.t ] -> ?callHierarchyProvider: [ `Bool of bool | `CallHierarchyOptions of CallHierarchyOptions.t | `CallHierarchyRegistrationOptions of CallHierarchyRegistrationOptions.t ] -> ?semanticTokensProvider: [ `SemanticTokensOptions of SemanticTokensOptions.t | `SemanticTokensRegistrationOptions of SemanticTokensRegistrationOptions.t ] -> ?monikerProvider: [ `Bool of bool | `MonikerOptions of MonikerOptions.t | `MonikerRegistrationOptions of MonikerRegistrationOptions.t ] -> ?workspaceSymbolProvider: [ `Bool of bool | `WorkspaceSymbolOptions of WorkspaceSymbolOptions.t ] -> ?workspace:workspace -> ?experimental:Import.Json.t -> 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
OCaml

Innovation. Community. Security.