Types.ServerCapabilities
type workspace = {
workspaceFolders : WorkspaceFoldersServerCapabilities.t option;
fileOperations : FileOperationOptions.t option;
}
val create_workspace :
?workspaceFolders:WorkspaceFoldersServerCapabilities.t ->
?fileOperations:FileOperationOptions.t ->
unit ->
workspace
type t = {
callHierarchyProvider : [ `Bool of bool
| `CallHierarchyOptions of CallHierarchyOptions.t
| `CallHierarchyRegistrationOptions of
CallHierarchyRegistrationOptions.t ]
option;
codeActionProvider : [ `Bool of bool
| `CodeActionOptions of CodeActionOptions.t ]
option;
codeLensProvider : CodeLensOptions.t option;
colorProvider : [ `Bool of bool
| `DocumentColorOptions of DocumentColorOptions.t
| `DocumentColorRegistrationOptions of
DocumentColorRegistrationOptions.t ]
option;
completionProvider : CompletionOptions.t option;
declarationProvider : [ `Bool of bool
| `DeclarationOptions of DeclarationOptions.t
| `DeclarationRegistrationOptions of
DeclarationRegistrationOptions.t ]
option;
definitionProvider : [ `Bool of bool
| `DefinitionOptions of DefinitionOptions.t ]
option;
diagnosticProvider : [ `DiagnosticOptions of DiagnosticOptions.t
| `DiagnosticRegistrationOptions of
DiagnosticRegistrationOptions.t ]
option;
documentFormattingProvider : [ `Bool of bool
| `DocumentFormattingOptions of
DocumentFormattingOptions.t ]
option;
documentHighlightProvider : [ `Bool of bool
| `DocumentHighlightOptions of
DocumentHighlightOptions.t ]
option;
documentLinkProvider : DocumentLinkOptions.t option;
documentOnTypeFormattingProvider : DocumentOnTypeFormattingOptions.t option;
documentRangeFormattingProvider : [ `Bool of bool
| `DocumentRangeFormattingOptions of
DocumentRangeFormattingOptions.t ]
option;
documentSymbolProvider : [ `Bool of bool
| `DocumentSymbolOptions of DocumentSymbolOptions.t ]
option;
executeCommandProvider : ExecuteCommandOptions.t option;
experimental : Import.Json.t option;
foldingRangeProvider : [ `Bool of bool
| `FoldingRangeOptions of FoldingRangeOptions.t
| `FoldingRangeRegistrationOptions of
FoldingRangeRegistrationOptions.t ]
option;
hoverProvider : [ `Bool of bool | `HoverOptions of HoverOptions.t ] option;
implementationProvider : [ `Bool of bool
| `ImplementationOptions of ImplementationOptions.t
| `ImplementationRegistrationOptions of
ImplementationRegistrationOptions.t ]
option;
inlayHintProvider : [ `Bool of bool
| `InlayHintOptions of InlayHintOptions.t
| `InlayHintRegistrationOptions of
InlayHintRegistrationOptions.t ]
option;
inlineValueProvider : [ `Bool of bool
| `InlineValueOptions of InlineValueOptions.t
| `InlineValueRegistrationOptions of
InlineValueRegistrationOptions.t ]
option;
linkedEditingRangeProvider : [ `Bool of bool
| `LinkedEditingRangeOptions of
LinkedEditingRangeOptions.t
| `LinkedEditingRangeRegistrationOptions of
LinkedEditingRangeRegistrationOptions.t ]
option;
monikerProvider : [ `Bool of bool
| `MonikerOptions of MonikerOptions.t
| `MonikerRegistrationOptions of MonikerRegistrationOptions.t ]
option;
notebookDocumentSync : [ `NotebookDocumentSyncOptions of
NotebookDocumentSyncOptions.t
| `NotebookDocumentSyncRegistrationOptions of
NotebookDocumentSyncRegistrationOptions.t ]
option;
positionEncoding : PositionEncodingKind.t option;
referencesProvider : [ `Bool of bool
| `ReferenceOptions of ReferenceOptions.t ]
option;
renameProvider : [ `Bool of bool | `RenameOptions of RenameOptions.t ] option;
selectionRangeProvider : [ `Bool of bool
| `SelectionRangeOptions of SelectionRangeOptions.t
| `SelectionRangeRegistrationOptions of
SelectionRangeRegistrationOptions.t ]
option;
semanticTokensProvider : [ `SemanticTokensOptions of SemanticTokensOptions.t
| `SemanticTokensRegistrationOptions of
SemanticTokensRegistrationOptions.t ]
option;
signatureHelpProvider : SignatureHelpOptions.t option;
textDocumentSync : [ `TextDocumentSyncOptions of TextDocumentSyncOptions.t
| `TextDocumentSyncKind of TextDocumentSyncKind.t ]
option;
typeDefinitionProvider : [ `Bool of bool
| `TypeDefinitionOptions of TypeDefinitionOptions.t
| `TypeDefinitionRegistrationOptions of
TypeDefinitionRegistrationOptions.t ]
option;
typeHierarchyProvider : [ `Bool of bool
| `TypeHierarchyOptions of TypeHierarchyOptions.t
| `TypeHierarchyRegistrationOptions of
TypeHierarchyRegistrationOptions.t ]
option;
workspace : workspace option;
workspaceSymbolProvider : [ `Bool of bool
| `WorkspaceSymbolOptions of WorkspaceSymbolOptions.t ]
option;
}
val create :
?callHierarchyProvider:
[ `Bool of bool
| `CallHierarchyOptions of CallHierarchyOptions.t
| `CallHierarchyRegistrationOptions of CallHierarchyRegistrationOptions.t ] ->
?codeActionProvider:
[ `Bool of bool | `CodeActionOptions of CodeActionOptions.t ] ->
?codeLensProvider:CodeLensOptions.t ->
?colorProvider:
[ `Bool of bool
| `DocumentColorOptions of DocumentColorOptions.t
| `DocumentColorRegistrationOptions of DocumentColorRegistrationOptions.t ] ->
?completionProvider:CompletionOptions.t ->
?declarationProvider:
[ `Bool of bool
| `DeclarationOptions of DeclarationOptions.t
| `DeclarationRegistrationOptions of DeclarationRegistrationOptions.t ] ->
?definitionProvider:
[ `Bool of bool | `DefinitionOptions of DefinitionOptions.t ] ->
?diagnosticProvider:
[ `DiagnosticOptions of DiagnosticOptions.t
| `DiagnosticRegistrationOptions of DiagnosticRegistrationOptions.t ] ->
?documentFormattingProvider:
[ `Bool of bool
| `DocumentFormattingOptions of DocumentFormattingOptions.t ] ->
?documentHighlightProvider:
[ `Bool of bool | `DocumentHighlightOptions of DocumentHighlightOptions.t ] ->
?documentLinkProvider:DocumentLinkOptions.t ->
?documentOnTypeFormattingProvider:DocumentOnTypeFormattingOptions.t ->
?documentRangeFormattingProvider:
[ `Bool of bool
| `DocumentRangeFormattingOptions of DocumentRangeFormattingOptions.t ] ->
?documentSymbolProvider:
[ `Bool of bool | `DocumentSymbolOptions of DocumentSymbolOptions.t ] ->
?executeCommandProvider:ExecuteCommandOptions.t ->
?experimental:Import.Json.t ->
?foldingRangeProvider:
[ `Bool of bool
| `FoldingRangeOptions of FoldingRangeOptions.t
| `FoldingRangeRegistrationOptions of FoldingRangeRegistrationOptions.t ] ->
?hoverProvider:[ `Bool of bool | `HoverOptions of HoverOptions.t ] ->
?implementationProvider:
[ `Bool of bool
| `ImplementationOptions of ImplementationOptions.t
| `ImplementationRegistrationOptions of ImplementationRegistrationOptions.t ] ->
?inlayHintProvider:
[ `Bool of bool
| `InlayHintOptions of InlayHintOptions.t
| `InlayHintRegistrationOptions of InlayHintRegistrationOptions.t ] ->
?inlineValueProvider:
[ `Bool of bool
| `InlineValueOptions of InlineValueOptions.t
| `InlineValueRegistrationOptions of InlineValueRegistrationOptions.t ] ->
?linkedEditingRangeProvider:
[ `Bool of bool
| `LinkedEditingRangeOptions of LinkedEditingRangeOptions.t
| `LinkedEditingRangeRegistrationOptions of
LinkedEditingRangeRegistrationOptions.t ] ->
?monikerProvider:
[ `Bool of bool
| `MonikerOptions of MonikerOptions.t
| `MonikerRegistrationOptions of MonikerRegistrationOptions.t ] ->
?notebookDocumentSync:
[ `NotebookDocumentSyncOptions of NotebookDocumentSyncOptions.t
| `NotebookDocumentSyncRegistrationOptions of
NotebookDocumentSyncRegistrationOptions.t ] ->
?positionEncoding:PositionEncodingKind.t ->
?referencesProvider:
[ `Bool of bool | `ReferenceOptions of ReferenceOptions.t ] ->
?renameProvider:[ `Bool of bool | `RenameOptions of RenameOptions.t ] ->
?selectionRangeProvider:
[ `Bool of bool
| `SelectionRangeOptions of SelectionRangeOptions.t
| `SelectionRangeRegistrationOptions of SelectionRangeRegistrationOptions.t ] ->
?semanticTokensProvider:
[ `SemanticTokensOptions of SemanticTokensOptions.t
| `SemanticTokensRegistrationOptions of SemanticTokensRegistrationOptions.t ] ->
?signatureHelpProvider:SignatureHelpOptions.t ->
?textDocumentSync:
[ `TextDocumentSyncOptions of TextDocumentSyncOptions.t
| `TextDocumentSyncKind of TextDocumentSyncKind.t ] ->
?typeDefinitionProvider:
[ `Bool of bool
| `TypeDefinitionOptions of TypeDefinitionOptions.t
| `TypeDefinitionRegistrationOptions of TypeDefinitionRegistrationOptions.t ] ->
?typeHierarchyProvider:
[ `Bool of bool
| `TypeHierarchyOptions of TypeHierarchyOptions.t
| `TypeHierarchyRegistrationOptions of TypeHierarchyRegistrationOptions.t ] ->
?workspace:workspace ->
?workspaceSymbolProvider:
[ `Bool of bool | `WorkspaceSymbolOptions of WorkspaceSymbolOptions.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