diff --git a/jsonrpc/_doc-dir/CHANGES.md b/jsonrpc/_doc-dir/CHANGES.md index 1aa10a76..efb704fe 100644 --- a/jsonrpc/_doc-dir/CHANGES.md +++ b/jsonrpc/_doc-dir/CHANGES.md @@ -1,3 +1,123 @@ +# 1.20.1 + +## Fixes + +- Deactivate the `jump` code actions by default. Clients can enable them with + the `merlinJumpCodeActions` configuration option. Alternatively a custom + request is provided for ad hoc use of the feature. (#1411) + +# 1.20.0 + +## Features + +- Add custom + [`ocamllsp/typeSearch`](/ocaml-lsp-server/docs/ocamllsp/typeSearch-spec.md) request (#1369) + +- Make MerlinJump code action configurable (#1376) + +- Add custom [`ocamllsp/jump`](/ocaml-lsp-server/docs/ocamllsp/merlinJump-spec.md) request (#1374) + +## Fixes + +- Fix fd leak in running external processes for preprocessing (#1349) + +- Fix prefix parsing for completion of object methods (#1363, fixes #1358) + +- Remove some duplicates in the `selectionRange` answers (#1368) + +# 1.19.0 + +## Features + +- Add custom [`ocamllsp/getDocumentation`](/ocaml-lsp-server/docs/ocamllsp/getDocumentation-spec.md) request (#1336) + +- Add support for OCaml 5.2 (#1233) + +- Add a code-action for syntactic and semantic movement shortcuts based on Merlin's Jump command (#1364) + +## Fixes + +- Kill unnecessary ocamlformat processes with sigterm rather than sigint or + sigkill (#1343) + +## Features + +- Add custom [`ocamllsp/construct`](https://github.com/ocaml/ocaml-lsp/blob/ocaml-lsp-server/docs/ocamllsp/construct-spec.md) request (#1348) + +# 1.18.0 + +## Features + +- Introduce a configuration option to control dune diagnostics. The option is + called `duneDiganostics` and it may be set to `{ enable: false }` to disable + diagnostics. (#1221) + +- Support folding of `ifthenelse` expressions (#1031) + +- Improve hover behavior (#1245) + + Hovers are no longer displaye on useless parsetree nodes such as keywords, + comments, etc. + + Multiline hovers are now filtered away. + + Display expanded ppx's in the hover window. + +- Improve document symbols (#1247) + + Use the parse tree instead of the typed tree. This means that document + symbols will work even if the source code doesn't type check. + + Include symbols at arbitrary depth. + + Differentiate functions / types / variants / etc. + + This now includes PPXs like `let%expect_test` or `let%bench` in the outline. + +- Introduce a `destruct-line` code action. This is an improved version of the + old `destruct` code action. (#1283) + +- Improve signature inference to only include types for elements that were + absent from the signature. Previously, all signature items would always be + inserted. (#1289) + +- Add an `update-signature` code action to update the types of elements that + were already present in the signature (#1289) + +- Add custom + [`ocamllsp/merlinCallCompatible`](https://github.com/ocaml/ocaml-lsp/blob/e165f6a3962c356adc7364b9ca71788e93489dd0/ocaml-lsp-server/docs/ocamllsp/merlinCallCompatible-spec.md) + request (#1265) + +- Add custom [`ocamllsp/typeEnclosing`](https://github.com/ocaml/ocaml-lsp/blob/109801e56f2060caf4487427bede28b824f4f1fe/ocaml-lsp-server/docs/ocamllsp/typeEnclosing-spec.md) request (#1304) + +## Fixes + +- Detect document kind by looking at merlin's `suffixes` config. + + This enables more lsp features for non-.ml/.mli files. Though it still + depends on merlin's support. (#1237) + +- Correctly accept the `--clientProcessId` flag. (#1242) + +- Disable automatic completion and signature help inside comments (#1246) + +- Includes a new optional/configurable option to toggle syntax documentation. If + toggled on, allows display of syntax documentation on hover tooltips. Can be + controlled via environment variables and by GUI for VS code. (#1218) + +- For completions on labels that the LSP gets from merlin, take into account + whether the prefix being completed starts with `~` or `?`. Change the label + completions that start with `?` to start with `~` when the prefix being + completed starts with `~`. (#1277) + +- Fix document syncing (#1278, #1280, fixes #1207) + +- Stop generating inlay hints on generated code (#1290) + +- Fix parenthesizing of function types in `SignatureHelp` (#1296) + +- Fix syntax documentation rendering (#1318) + # 1.17.0 ## Fixes @@ -26,6 +146,7 @@ - Add mark/remove unused actions for open, types, for loop indexes, modules, match cases, rec, and constructors (#1141) +- Add inlay hints for types on let bindings (#1159) - Offer auto-completion for the keyword `in` (#1217) diff --git a/jsonrpc/_doc-dir/README.md b/jsonrpc/_doc-dir/README.md index 9b469fa3..84359648 100644 --- a/jsonrpc/_doc-dir/README.md +++ b/jsonrpc/_doc-dir/README.md @@ -4,7 +4,7 @@ [![Build][build-badge]][build] [![Coverage Status][coverall-badge]][coverall] -[build-badge]: https://github.com/ocaml/ocaml-lsp/workflows/Build%20and%20Test/badge.svg +[build-badge]: https://github.com/ocaml/ocaml-lsp/actions/workflows/build-and-test.yml/badge.svg [build]: https://github.com/ocaml/ocaml-lsp/actions [coverall-badge]: https://coveralls.io/repos/github/ocaml/ocaml-lsp/badge.svg?branch=master [coverall]: https://coveralls.io/github/ocaml/ocaml-lsp?branch=master @@ -304,6 +304,36 @@ of the value needs to be non-polymorphic to construct a meaningful value. Tip (for VS Code OCaml Platform users): You can construct a value using a keybinding Alt+C or on MacOS Option+C +#### Syntax Documentation + +> since OCaml-LSP 1.18.0 + +OCaml-LSP can display documentation about the node under the cursor when +the user hovers over some OCaml code. For example, hovering over the code +snippet below will display some information about what the syntax +is: + +```ocaml +type point = {x: int; y: int} +``` +Hovering over the above will +display: +``` +ocaml type point = { x : int; y : int } +syntax Record type: +Allows you to define variants with a fixed set of fields, and all of the +constructors for a record variant type must have the same fields. See +Manual +``` +The documentation is gotten from the Merlin engine which receives +the nodes under the cursor and infers what the syntax may be about, and +displays the required information along with links to the manual for further +reading. + +Syntax Documentation is an optional feature and can be activated by +using the LSP config system with the key called `syntaxDocumentation` and can +be enabled via setting it to `{ enable: true }`. + ## Debugging If you use Visual Studio Code, please see OCaml Platform extension @@ -326,7 +356,7 @@ cd ocaml-lsp git submodule update --init --recursive # create local switch (or use global one) -opam switch --yes create . ocaml-base-compiler.4.14.0 +opam switch --yes create . # don't forget to set your environment to use the local switch eval $(opam env) diff --git a/linol-lwt/Linol_lwt/index.html b/linol-lwt/Linol_lwt/index.html index 7bbdf3ed..3b6ff9a3 100644 --- a/linol-lwt/Linol_lwt/index.html +++ b/linol-lwt/Linol_lwt/index.html @@ -5,7 +5,7 @@ and type env = unit and type in_channel = Lwt_io.input Lwt_io.channel and type out_channel = Lwt_io.output Lwt_io.channel
val spawn : (unit -> unit Lwt.t) -> unitSpawn function.
include module type of struct include Lsp.Types endmodule MarkedString = Lsp.Types.MarkedStringmodule DocumentUri = Lsp.Types.DocumentUrimodule ProgressToken = Lsp.Types.ProgressTokenmodule ProgressParams = Lsp.Types.ProgressParamsmodule NotebookDocumentSyncOptions = Lsp.Types.NotebookDocumentSyncOptionsmodule NotebookDocumentSyncRegistrationOptions =
- Lsp.Types.NotebookDocumentSyncRegistrationOptionsmodule NotebookDocumentFilter = Lsp.Types.NotebookDocumentFiltermodule TextDocumentFilter = Lsp.Types.TextDocumentFiltermodule SymbolTag = Lsp.Types.SymbolTagmodule SymbolKind = Lsp.Types.SymbolKindmodule ResourceOperationKind = Lsp.Types.ResourceOperationKindmodule FailureHandlingKind = Lsp.Types.FailureHandlingKindmodule MarkupKind = Lsp.Types.MarkupKindmodule TokenFormat = Lsp.Types.TokenFormatmodule PrepareSupportDefaultBehavior = Lsp.Types.PrepareSupportDefaultBehaviormodule DiagnosticTag = Lsp.Types.DiagnosticTagmodule FoldingRangeKind = Lsp.Types.FoldingRangeKindmodule InsertTextMode = Lsp.Types.InsertTextModemodule CompletionItemKind = Lsp.Types.CompletionItemKindmodule CompletionItemTag = Lsp.Types.CompletionItemTagmodule CodeActionKind = Lsp.Types.CodeActionKindmodule PositionEncodingKind = Lsp.Types.PositionEncodingKindmodule DiagnosticSeverity = Lsp.Types.DiagnosticSeveritymodule CodeActionTriggerKind = Lsp.Types.CodeActionTriggerKindmodule CompletionTriggerKind = Lsp.Types.CompletionTriggerKindmodule InsertTextFormat = Lsp.Types.InsertTextFormatmodule NotebookCellKind = Lsp.Types.NotebookCellKindmodule FileChangeType = Lsp.Types.FileChangeTypemodule WatchKind = Lsp.Types.WatchKindmodule DocumentHighlightKind = Lsp.Types.DocumentHighlightKindmodule FileOperationPatternKind = Lsp.Types.FileOperationPatternKindmodule TraceValues = Lsp.Types.TraceValuesmodule TextDocumentSyncKind = Lsp.Types.TextDocumentSyncKindmodule InlayHintKind = Lsp.Types.InlayHintKindmodule MessageType = Lsp.Types.MessageTypemodule UniquenessLevel = Lsp.Types.UniquenessLevelmodule MonikerKind = Lsp.Types.MonikerKindmodule SemanticTokenModifiers = Lsp.Types.SemanticTokenModifiersmodule SemanticTokenTypes = Lsp.Types.SemanticTokenTypesmodule SignatureHelpTriggerKind = Lsp.Types.SignatureHelpTriggerKindmodule TextDocumentSaveReason = Lsp.Types.TextDocumentSaveReasonmodule Position = Lsp.Types.Positionmodule Range = Lsp.Types.Rangemodule ChangeAnnotationIdentifier = Lsp.Types.ChangeAnnotationIdentifiermodule AnnotatedTextEdit = Lsp.Types.AnnotatedTextEditmodule DeleteFileOptions = Lsp.Types.DeleteFileOptionsmodule DeleteFile = Lsp.Types.DeleteFilemodule RenameFileOptions = Lsp.Types.RenameFileOptionsmodule RenameFile = Lsp.Types.RenameFilemodule CreateFileOptions = Lsp.Types.CreateFileOptionsmodule CreateFile = Lsp.Types.CreateFilemodule OptionalVersionedTextDocumentIdentifier =
+ Lsp.Types.NotebookDocumentSyncRegistrationOptionsmodule NotebookDocumentFilter = Lsp.Types.NotebookDocumentFiltermodule TextDocumentFilter = Lsp.Types.TextDocumentFiltermodule SymbolTag = Lsp.Types.SymbolTagmodule SymbolKind = Lsp.Types.SymbolKindmodule ResourceOperationKind = Lsp.Types.ResourceOperationKindmodule FailureHandlingKind = Lsp.Types.FailureHandlingKindmodule MarkupKind = Lsp.Types.MarkupKindmodule TokenFormat = Lsp.Types.TokenFormatmodule PrepareSupportDefaultBehavior = Lsp.Types.PrepareSupportDefaultBehaviormodule DiagnosticTag = Lsp.Types.DiagnosticTagmodule FoldingRangeKind = Lsp.Types.FoldingRangeKindmodule InsertTextMode = Lsp.Types.InsertTextModemodule CompletionItemKind = Lsp.Types.CompletionItemKindmodule CompletionItemTag = Lsp.Types.CompletionItemTagmodule CodeActionKind = Lsp.Types.CodeActionKindmodule PositionEncodingKind = Lsp.Types.PositionEncodingKindmodule DiagnosticSeverity = Lsp.Types.DiagnosticSeveritymodule CodeActionTriggerKind = Lsp.Types.CodeActionTriggerKindmodule CompletionTriggerKind = Lsp.Types.CompletionTriggerKindmodule InsertTextFormat = Lsp.Types.InsertTextFormatmodule NotebookCellKind = Lsp.Types.NotebookCellKindmodule FileChangeType = Lsp.Types.FileChangeTypemodule WatchKind = Lsp.Types.WatchKindmodule DocumentDiagnosticReportKind = Lsp.Types.DocumentDiagnosticReportKindmodule DocumentHighlightKind = Lsp.Types.DocumentHighlightKindmodule FileOperationPatternKind = Lsp.Types.FileOperationPatternKindmodule TraceValues = Lsp.Types.TraceValuesmodule TextDocumentSyncKind = Lsp.Types.TextDocumentSyncKindmodule InlayHintKind = Lsp.Types.InlayHintKindmodule InlineCompletionTriggerKind = Lsp.Types.InlineCompletionTriggerKindmodule MessageType = Lsp.Types.MessageTypemodule UniquenessLevel = Lsp.Types.UniquenessLevelmodule MonikerKind = Lsp.Types.MonikerKindmodule SemanticTokenModifiers = Lsp.Types.SemanticTokenModifiersmodule SemanticTokenTypes = Lsp.Types.SemanticTokenTypesmodule SignatureHelpTriggerKind = Lsp.Types.SignatureHelpTriggerKindmodule TextDocumentSaveReason = Lsp.Types.TextDocumentSaveReasonmodule Position = Lsp.Types.Positionmodule Range = Lsp.Types.Rangemodule ChangeAnnotationIdentifier = Lsp.Types.ChangeAnnotationIdentifiermodule AnnotatedTextEdit = Lsp.Types.AnnotatedTextEditmodule DeleteFileOptions = Lsp.Types.DeleteFileOptionsmodule DeleteFile = Lsp.Types.DeleteFilemodule RenameFileOptions = Lsp.Types.RenameFileOptionsmodule RenameFile = Lsp.Types.RenameFilemodule CreateFileOptions = Lsp.Types.CreateFileOptionsmodule CreateFile = Lsp.Types.CreateFilemodule OptionalVersionedTextDocumentIdentifier =
Lsp.Types.OptionalVersionedTextDocumentIdentifiermodule TextEdit = Lsp.Types.TextEditmodule TextDocumentEdit = Lsp.Types.TextDocumentEditmodule ChangeAnnotation = Lsp.Types.ChangeAnnotationmodule WorkspaceEdit = Lsp.Types.WorkspaceEditmodule ApplyWorkspaceEditParams = Lsp.Types.ApplyWorkspaceEditParamsmodule ApplyWorkspaceEditResult = Lsp.Types.ApplyWorkspaceEditResultmodule BaseSymbolInformation = Lsp.Types.BaseSymbolInformationmodule CallHierarchyClientCapabilities =
Lsp.Types.CallHierarchyClientCapabilitiesmodule CallHierarchyItem = Lsp.Types.CallHierarchyItemmodule CallHierarchyIncomingCall = Lsp.Types.CallHierarchyIncomingCallmodule CallHierarchyIncomingCallsParams =
Lsp.Types.CallHierarchyIncomingCallsParamsmodule CallHierarchyOptions = Lsp.Types.CallHierarchyOptionsmodule CallHierarchyOutgoingCall = Lsp.Types.CallHierarchyOutgoingCallmodule CallHierarchyOutgoingCallsParams =
@@ -16,7 +16,8 @@
Lsp.Types.WorkspaceSymbolClientCapabilitiesmodule SemanticTokensWorkspaceClientCapabilities =
Lsp.Types.SemanticTokensWorkspaceClientCapabilitiesmodule InlineValueWorkspaceClientCapabilities =
Lsp.Types.InlineValueWorkspaceClientCapabilitiesmodule InlayHintWorkspaceClientCapabilities =
- Lsp.Types.InlayHintWorkspaceClientCapabilitiesmodule FileOperationClientCapabilities =
+ Lsp.Types.InlayHintWorkspaceClientCapabilitiesmodule FoldingRangeWorkspaceClientCapabilities =
+ Lsp.Types.FoldingRangeWorkspaceClientCapabilitiesmodule FileOperationClientCapabilities =
Lsp.Types.FileOperationClientCapabilitiesmodule ExecuteCommandClientCapabilities =
Lsp.Types.ExecuteCommandClientCapabilitiesmodule DidChangeWatchedFilesClientCapabilities =
Lsp.Types.DidChangeWatchedFilesClientCapabilitiesmodule DidChangeConfigurationClientCapabilities =
@@ -34,7 +35,8 @@
Lsp.Types.DocumentRangeFormattingClientCapabilitiesmodule PublishDiagnosticsClientCapabilities =
Lsp.Types.PublishDiagnosticsClientCapabilitiesmodule DocumentOnTypeFormattingClientCapabilities =
Lsp.Types.DocumentOnTypeFormattingClientCapabilitiesmodule MonikerClientCapabilities = Lsp.Types.MonikerClientCapabilitiesmodule LinkedEditingRangeClientCapabilities =
- Lsp.Types.LinkedEditingRangeClientCapabilitiesmodule InlineValueClientCapabilities = Lsp.Types.InlineValueClientCapabilitiesmodule InlayHintClientCapabilities = Lsp.Types.InlayHintClientCapabilitiesmodule ImplementationClientCapabilities =
+ Lsp.Types.LinkedEditingRangeClientCapabilitiesmodule InlineValueClientCapabilities = Lsp.Types.InlineValueClientCapabilitiesmodule InlineCompletionClientCapabilities =
+ Lsp.Types.InlineCompletionClientCapabilitiesmodule InlayHintClientCapabilities = Lsp.Types.InlayHintClientCapabilitiesmodule ImplementationClientCapabilities =
Lsp.Types.ImplementationClientCapabilitiesmodule HoverClientCapabilities = Lsp.Types.HoverClientCapabilitiesmodule DocumentFormattingClientCapabilities =
Lsp.Types.DocumentFormattingClientCapabilitiesmodule FoldingRangeClientCapabilities =
Lsp.Types.FoldingRangeClientCapabilitiesmodule DocumentSymbolClientCapabilities =
@@ -45,7 +47,7 @@
Lsp.Types.TextDocumentClientCapabilitiesmodule NotebookDocumentSyncClientCapabilities =
Lsp.Types.NotebookDocumentSyncClientCapabilitiesmodule NotebookDocumentClientCapabilities =
Lsp.Types.NotebookDocumentClientCapabilitiesmodule RegularExpressionsClientCapabilities =
- Lsp.Types.RegularExpressionsClientCapabilitiesmodule MarkdownClientCapabilities = Lsp.Types.MarkdownClientCapabilitiesmodule GeneralClientCapabilities = Lsp.Types.GeneralClientCapabilitiesmodule ClientCapabilities = Lsp.Types.ClientCapabilitiesmodule Location = Lsp.Types.Locationmodule DiagnosticRelatedInformation = Lsp.Types.DiagnosticRelatedInformationmodule CodeDescription = Lsp.Types.CodeDescriptionmodule Diagnostic = Lsp.Types.Diagnosticmodule Command = Lsp.Types.Commandmodule CodeAction = Lsp.Types.CodeActionmodule CodeActionContext = Lsp.Types.CodeActionContextmodule CodeActionOptions = Lsp.Types.CodeActionOptionsmodule CodeActionParams = Lsp.Types.CodeActionParamsmodule CodeActionRegistrationOptions = Lsp.Types.CodeActionRegistrationOptionsmodule CodeLens = Lsp.Types.CodeLensmodule CodeLensOptions = Lsp.Types.CodeLensOptionsmodule CodeLensParams = Lsp.Types.CodeLensParamsmodule CodeLensRegistrationOptions = Lsp.Types.CodeLensRegistrationOptionsmodule Color = Lsp.Types.Colormodule ColorInformation = Lsp.Types.ColorInformationmodule ColorPresentation = Lsp.Types.ColorPresentationmodule ColorPresentationParams = Lsp.Types.ColorPresentationParamsmodule CompletionContext = Lsp.Types.CompletionContextmodule InsertReplaceEdit = Lsp.Types.InsertReplaceEditmodule CompletionItemLabelDetails = Lsp.Types.CompletionItemLabelDetailsmodule MarkupContent = Lsp.Types.MarkupContentmodule CompletionItem = Lsp.Types.CompletionItemmodule CompletionList = Lsp.Types.CompletionListmodule CompletionOptions = Lsp.Types.CompletionOptionsmodule CompletionParams = Lsp.Types.CompletionParamsmodule CompletionRegistrationOptions = Lsp.Types.CompletionRegistrationOptionsmodule ConfigurationItem = Lsp.Types.ConfigurationItemmodule ConfigurationParams = Lsp.Types.ConfigurationParamsmodule FileCreate = Lsp.Types.FileCreatemodule CreateFilesParams = Lsp.Types.CreateFilesParamsmodule Declaration = Lsp.Types.Declarationmodule LocationLink = Lsp.Types.LocationLinkmodule DeclarationLink = Lsp.Types.DeclarationLinkmodule DeclarationOptions = Lsp.Types.DeclarationOptionsmodule DeclarationParams = Lsp.Types.DeclarationParamsmodule DeclarationRegistrationOptions =
+ Lsp.Types.RegularExpressionsClientCapabilitiesmodule MarkdownClientCapabilities = Lsp.Types.MarkdownClientCapabilitiesmodule GeneralClientCapabilities = Lsp.Types.GeneralClientCapabilitiesmodule ClientCapabilities = Lsp.Types.ClientCapabilitiesmodule Location = Lsp.Types.Locationmodule DiagnosticRelatedInformation = Lsp.Types.DiagnosticRelatedInformationmodule MarkupContent = Lsp.Types.MarkupContentmodule CodeDescription = Lsp.Types.CodeDescriptionmodule Diagnostic = Lsp.Types.Diagnosticmodule Command = Lsp.Types.Commandmodule CodeAction = Lsp.Types.CodeActionmodule CodeActionContext = Lsp.Types.CodeActionContextmodule CodeActionOptions = Lsp.Types.CodeActionOptionsmodule CodeActionParams = Lsp.Types.CodeActionParamsmodule CodeActionRegistrationOptions = Lsp.Types.CodeActionRegistrationOptionsmodule CodeLens = Lsp.Types.CodeLensmodule CodeLensOptions = Lsp.Types.CodeLensOptionsmodule CodeLensParams = Lsp.Types.CodeLensParamsmodule CodeLensRegistrationOptions = Lsp.Types.CodeLensRegistrationOptionsmodule Color = Lsp.Types.Colormodule ColorInformation = Lsp.Types.ColorInformationmodule ColorPresentation = Lsp.Types.ColorPresentationmodule ColorPresentationParams = Lsp.Types.ColorPresentationParamsmodule CompletionContext = Lsp.Types.CompletionContextmodule InsertReplaceEdit = Lsp.Types.InsertReplaceEditmodule CompletionItemLabelDetails = Lsp.Types.CompletionItemLabelDetailsmodule CompletionItem = Lsp.Types.CompletionItemmodule CompletionList = Lsp.Types.CompletionListmodule CompletionOptions = Lsp.Types.CompletionOptionsmodule CompletionParams = Lsp.Types.CompletionParamsmodule CompletionRegistrationOptions = Lsp.Types.CompletionRegistrationOptionsmodule ConfigurationItem = Lsp.Types.ConfigurationItemmodule ConfigurationParams = Lsp.Types.ConfigurationParamsmodule FileCreate = Lsp.Types.FileCreatemodule CreateFilesParams = Lsp.Types.CreateFilesParamsmodule Declaration = Lsp.Types.Declarationmodule LocationLink = Lsp.Types.LocationLinkmodule DeclarationLink = Lsp.Types.DeclarationLinkmodule DeclarationOptions = Lsp.Types.DeclarationOptionsmodule DeclarationParams = Lsp.Types.DeclarationParamsmodule DeclarationRegistrationOptions =
Lsp.Types.DeclarationRegistrationOptionsmodule Definition = Lsp.Types.Definitionmodule DefinitionLink = Lsp.Types.DefinitionLinkmodule DefinitionOptions = Lsp.Types.DefinitionOptionsmodule DefinitionParams = Lsp.Types.DefinitionParamsmodule DefinitionRegistrationOptions = Lsp.Types.DefinitionRegistrationOptionsmodule FileDelete = Lsp.Types.FileDeletemodule DeleteFilesParams = Lsp.Types.DeleteFilesParamsmodule DiagnosticOptions = Lsp.Types.DiagnosticOptionsmodule DiagnosticRegistrationOptions = Lsp.Types.DiagnosticRegistrationOptionsmodule DiagnosticServerCancellationData =
Lsp.Types.DiagnosticServerCancellationDatamodule DidChangeConfigurationParams = Lsp.Types.DidChangeConfigurationParamsmodule DidChangeConfigurationRegistrationOptions =
Lsp.Types.DidChangeConfigurationRegistrationOptionsmodule VersionedNotebookDocumentIdentifier =
@@ -68,7 +70,8 @@
Lsp.Types.DocumentOnTypeFormattingParamsmodule DocumentOnTypeFormattingRegistrationOptions =
Lsp.Types.DocumentOnTypeFormattingRegistrationOptionsmodule DocumentRangeFormattingOptions =
Lsp.Types.DocumentRangeFormattingOptionsmodule DocumentRangeFormattingParams = Lsp.Types.DocumentRangeFormattingParamsmodule DocumentRangeFormattingRegistrationOptions =
- Lsp.Types.DocumentRangeFormattingRegistrationOptionsmodule DocumentSymbol = Lsp.Types.DocumentSymbolmodule DocumentSymbolOptions = Lsp.Types.DocumentSymbolOptionsmodule DocumentSymbolParams = Lsp.Types.DocumentSymbolParamsmodule DocumentSymbolRegistrationOptions =
+ Lsp.Types.DocumentRangeFormattingRegistrationOptionsmodule DocumentRangesFormattingParams =
+ Lsp.Types.DocumentRangesFormattingParamsmodule DocumentSymbol = Lsp.Types.DocumentSymbolmodule DocumentSymbolOptions = Lsp.Types.DocumentSymbolOptionsmodule DocumentSymbolParams = Lsp.Types.DocumentSymbolParamsmodule DocumentSymbolRegistrationOptions =
Lsp.Types.DocumentSymbolRegistrationOptionsmodule ExecuteCommandOptions = Lsp.Types.ExecuteCommandOptionsmodule ExecuteCommandParams = Lsp.Types.ExecuteCommandParamsmodule ExecuteCommandRegistrationOptions =
Lsp.Types.ExecuteCommandRegistrationOptionsmodule FileOperationPatternOptions = Lsp.Types.FileOperationPatternOptionsmodule FileOperationPattern = Lsp.Types.FileOperationPatternmodule FileOperationFilter = Lsp.Types.FileOperationFiltermodule FileOperationRegistrationOptions =
Lsp.Types.FileOperationRegistrationOptionsmodule FileOperationOptions = Lsp.Types.FileOperationOptionsmodule FileRename = Lsp.Types.FileRenamemodule FoldingRange = Lsp.Types.FoldingRangemodule FoldingRangeOptions = Lsp.Types.FoldingRangeOptionsmodule FoldingRangeParams = Lsp.Types.FoldingRangeParamsmodule FoldingRangeRegistrationOptions =
@@ -80,10 +83,11 @@
Lsp.Types.SemanticTokensRegistrationOptionsmodule SemanticTokensOptions = Lsp.Types.SemanticTokensOptionsmodule SelectionRangeRegistrationOptions =
Lsp.Types.SelectionRangeRegistrationOptionsmodule SelectionRangeOptions = Lsp.Types.SelectionRangeOptionsmodule RenameOptions = Lsp.Types.RenameOptionsmodule ReferenceOptions = Lsp.Types.ReferenceOptionsmodule MonikerRegistrationOptions = Lsp.Types.MonikerRegistrationOptionsmodule MonikerOptions = Lsp.Types.MonikerOptionsmodule LinkedEditingRangeRegistrationOptions =
Lsp.Types.LinkedEditingRangeRegistrationOptionsmodule LinkedEditingRangeOptions = Lsp.Types.LinkedEditingRangeOptionsmodule InlineValueRegistrationOptions =
- Lsp.Types.InlineValueRegistrationOptionsmodule InlineValueOptions = Lsp.Types.InlineValueOptionsmodule InlayHintRegistrationOptions = Lsp.Types.InlayHintRegistrationOptionsmodule InlayHintOptions = Lsp.Types.InlayHintOptionsmodule ServerCapabilities = Lsp.Types.ServerCapabilitiesmodule InitializeResult = Lsp.Types.InitializeResultmodule InitializedParams_ = Lsp.Types.InitializedParams_module InlayHintLabelPart = Lsp.Types.InlayHintLabelPartmodule InlayHint = Lsp.Types.InlayHintmodule InlayHintParams = Lsp.Types.InlayHintParamsmodule InlineValueEvaluatableExpression =
+ Lsp.Types.InlineValueRegistrationOptionsmodule InlineValueOptions = Lsp.Types.InlineValueOptionsmodule InlineCompletionOptions = Lsp.Types.InlineCompletionOptionsmodule InlayHintRegistrationOptions = Lsp.Types.InlayHintRegistrationOptionsmodule InlayHintOptions = Lsp.Types.InlayHintOptionsmodule ServerCapabilities = Lsp.Types.ServerCapabilitiesmodule InitializeResult = Lsp.Types.InitializeResultmodule InitializedParams_ = Lsp.Types.InitializedParams_module InlayHintLabelPart = Lsp.Types.InlayHintLabelPartmodule InlayHint = Lsp.Types.InlayHintmodule InlayHintParams = Lsp.Types.InlayHintParamsmodule SelectedCompletionInfo = Lsp.Types.SelectedCompletionInfomodule InlineCompletionContext = Lsp.Types.InlineCompletionContextmodule StringValue = Lsp.Types.StringValuemodule InlineCompletionItem = Lsp.Types.InlineCompletionItemmodule InlineCompletionList = Lsp.Types.InlineCompletionListmodule InlineCompletionParams = Lsp.Types.InlineCompletionParamsmodule InlineCompletionRegistrationOptions =
+ Lsp.Types.InlineCompletionRegistrationOptionsmodule InlineValueEvaluatableExpression =
Lsp.Types.InlineValueEvaluatableExpressionmodule InlineValueVariableLookup = Lsp.Types.InlineValueVariableLookupmodule InlineValueText = Lsp.Types.InlineValueTextmodule InlineValue = Lsp.Types.InlineValuemodule InlineValueContext = Lsp.Types.InlineValueContextmodule InlineValueParams = Lsp.Types.InlineValueParamsmodule LinkedEditingRangeParams = Lsp.Types.LinkedEditingRangeParamsmodule LinkedEditingRanges = Lsp.Types.LinkedEditingRangesmodule LogMessageParams = Lsp.Types.LogMessageParamsmodule LogTraceParams = Lsp.Types.LogTraceParamsmodule MessageActionItem = Lsp.Types.MessageActionItemmodule Moniker = Lsp.Types.Monikermodule MonikerParams = Lsp.Types.MonikerParamsmodule ParameterInformation = Lsp.Types.ParameterInformationmodule PartialResultParams = Lsp.Types.PartialResultParamsmodule PrepareRenameParams = Lsp.Types.PrepareRenameParamsmodule PreviousResultId = Lsp.Types.PreviousResultIdmodule PublishDiagnosticsParams = Lsp.Types.PublishDiagnosticsParamsmodule ReferenceContext = Lsp.Types.ReferenceContextmodule ReferenceParams = Lsp.Types.ReferenceParamsmodule ReferenceRegistrationOptions = Lsp.Types.ReferenceRegistrationOptionsmodule Registration = Lsp.Types.Registrationmodule RegistrationParams = Lsp.Types.RegistrationParamsmodule RenameFilesParams = Lsp.Types.RenameFilesParamsmodule RenameParams = Lsp.Types.RenameParamsmodule RenameRegistrationOptions = Lsp.Types.RenameRegistrationOptionsmodule ResourceOperation = Lsp.Types.ResourceOperationmodule SelectionRange = Lsp.Types.SelectionRangemodule SelectionRangeParams = Lsp.Types.SelectionRangeParamsmodule SemanticTokens = Lsp.Types.SemanticTokensmodule SemanticTokensEdit = Lsp.Types.SemanticTokensEditmodule SemanticTokensDelta = Lsp.Types.SemanticTokensDeltamodule SemanticTokensDeltaParams = Lsp.Types.SemanticTokensDeltaParamsmodule SemanticTokensDeltaPartialResult =
Lsp.Types.SemanticTokensDeltaPartialResultmodule SemanticTokensParams = Lsp.Types.SemanticTokensParamsmodule SemanticTokensPartialResult = Lsp.Types.SemanticTokensPartialResultmodule SemanticTokensRangeParams = Lsp.Types.SemanticTokensRangeParamsmodule SetTraceParams = Lsp.Types.SetTraceParamsmodule ShowDocumentParams = Lsp.Types.ShowDocumentParamsmodule ShowDocumentResult = Lsp.Types.ShowDocumentResultmodule ShowMessageParams = Lsp.Types.ShowMessageParamsmodule ShowMessageRequestParams = Lsp.Types.ShowMessageRequestParamsmodule SignatureInformation = Lsp.Types.SignatureInformationmodule SignatureHelp = Lsp.Types.SignatureHelpmodule SignatureHelpContext = Lsp.Types.SignatureHelpContextmodule SignatureHelpParams = Lsp.Types.SignatureHelpParamsmodule SignatureHelpRegistrationOptions =
- Lsp.Types.SignatureHelpRegistrationOptionsmodule StaticRegistrationOptions = Lsp.Types.StaticRegistrationOptionsmodule SymbolInformation = Lsp.Types.SymbolInformationmodule T = Lsp.Types.Tmodule TextDocumentChangeRegistrationOptions =
+ Lsp.Types.SignatureHelpRegistrationOptionsmodule StaticRegistrationOptions = Lsp.Types.StaticRegistrationOptionsmodule SymbolInformation = Lsp.Types.SymbolInformationmodule TextDocumentChangeRegistrationOptions =
Lsp.Types.TextDocumentChangeRegistrationOptionsmodule TextDocumentPositionParams = Lsp.Types.TextDocumentPositionParamsmodule TextDocumentRegistrationOptions =
Lsp.Types.TextDocumentRegistrationOptionsmodule TextDocumentSaveRegistrationOptions =
Lsp.Types.TextDocumentSaveRegistrationOptionsmodule TypeDefinitionParams = Lsp.Types.TypeDefinitionParamsmodule TypeHierarchyItem = Lsp.Types.TypeHierarchyItemmodule TypeHierarchyPrepareParams = Lsp.Types.TypeHierarchyPrepareParamsmodule TypeHierarchySubtypesParams = Lsp.Types.TypeHierarchySubtypesParamsmodule TypeHierarchySupertypesParams = Lsp.Types.TypeHierarchySupertypesParamsmodule Unregistration = Lsp.Types.Unregistrationmodule UnregistrationParams = Lsp.Types.UnregistrationParamsmodule WillSaveTextDocumentParams = Lsp.Types.WillSaveTextDocumentParamsmodule WorkDoneProgressBegin = Lsp.Types.WorkDoneProgressBeginmodule WorkDoneProgressCancelParams = Lsp.Types.WorkDoneProgressCancelParamsmodule WorkDoneProgressCreateParams = Lsp.Types.WorkDoneProgressCreateParamsmodule WorkDoneProgressEnd = Lsp.Types.WorkDoneProgressEndmodule WorkDoneProgressOptions = Lsp.Types.WorkDoneProgressOptionsmodule WorkDoneProgressParams = Lsp.Types.WorkDoneProgressParamsmodule WorkDoneProgressReport = Lsp.Types.WorkDoneProgressReportmodule WorkspaceDiagnosticParams = Lsp.Types.WorkspaceDiagnosticParamsmodule WorkspaceUnchangedDocumentDiagnosticReport =
diff --git a/lsp/Lsp/Client_notification/index.html b/lsp/Lsp/Client_notification/index.html
index 82b4eb2b..1dfe195f 100644
--- a/lsp/Lsp/Client_notification/index.html
+++ b/lsp/Lsp/Client_notification/index.html
@@ -1,2 +1,2 @@
-Client_notification (lsp.Lsp.Client_notification) Module Lsp.Client_notification
type t = | TextDocumentDidOpen of Types.DidOpenTextDocumentParams.t| TextDocumentDidClose of Types.DidCloseTextDocumentParams.t| TextDocumentDidChange of Types.DidChangeTextDocumentParams.t| DidSaveTextDocument of Types.DidSaveTextDocumentParams.t| WillSaveTextDocument of Types.WillSaveTextDocumentParams.t| DidChangeWatchedFiles of Types.DidChangeWatchedFilesParams.t| DidCreateFiles of Types.CreateFilesParams.t| DidDeleteFiles of Types.DeleteFilesParams.t| DidRenameFiles of Types.RenameFilesParams.t| ChangeWorkspaceFolders of Types.DidChangeWorkspaceFoldersParams.t| ChangeConfiguration of Types.DidChangeConfigurationParams.t| Initialized| Exit| CancelRequest of Jsonrpc.Id.t| WorkDoneProgressCancel of Types.WorkDoneProgressCancelParams.t| SetTrace of Types.SetTraceParams.t| WorkDoneProgress of Progress.t Types.ProgressParams.t| UnknownNotification of Jsonrpc.Notification.t
val of_jsonrpc : Jsonrpc.Notification.t -> (t, string) resultval to_jsonrpc : t -> Jsonrpc.Notification.t
+Client_notification (lsp.Lsp.Client_notification) Module Lsp.Client_notification
type t = | TextDocumentDidOpen of Types.DidOpenTextDocumentParams.t| TextDocumentDidClose of Types.DidCloseTextDocumentParams.t| TextDocumentDidChange of Types.DidChangeTextDocumentParams.t| DidSaveTextDocument of Types.DidSaveTextDocumentParams.t| WillSaveTextDocument of Types.WillSaveTextDocumentParams.t| DidChangeWatchedFiles of Types.DidChangeWatchedFilesParams.t| DidCreateFiles of Types.CreateFilesParams.t| DidDeleteFiles of Types.DeleteFilesParams.t| DidRenameFiles of Types.RenameFilesParams.t| ChangeWorkspaceFolders of Types.DidChangeWorkspaceFoldersParams.t| ChangeConfiguration of Types.DidChangeConfigurationParams.t| Initialized| Exit| CancelRequest of Jsonrpc.Id.t| WorkDoneProgressCancel of Types.WorkDoneProgressCancelParams.t| SetTrace of Types.SetTraceParams.t| WorkDoneProgress of Progress.t Types.ProgressParams.t| NotebookDocumentDidOpen of Types.DidOpenNotebookDocumentParams.t| NotebookDocumentDidChange of Types.DidChangeNotebookDocumentParams.t| NotebookDocumentDidSave of Types.DidSaveNotebookDocumentParams.t| NotebookDocumentDidClose of Types.DidCloseNotebookDocumentParams.t| UnknownNotification of Jsonrpc.Notification.t
val of_jsonrpc : Jsonrpc.Notification.t -> (t, string) resultval to_jsonrpc : t -> Jsonrpc.Notification.t
diff --git a/lsp/Lsp/Client_request/index.html b/lsp/Lsp/Client_request/index.html
index bfabc23c..58d35b7f 100644
--- a/lsp/Lsp/Client_request/index.html
+++ b/lsp/Lsp/Client_request/index.html
@@ -11,10 +11,23 @@
Types.CompletionItem.t
list ]
option
- t| TextDocumentCodeLens : Types.CodeLensParams.t -> Types.CodeLens.t list t| InlayHint : Types.InlayHintParams.t -> Types.InlayHint.t list option t| TextDocumentCodeLensResolve : Types.CodeLens.t -> Types.CodeLens.t t| TextDocumentPrepareCallHierarchy : Types.CallHierarchyPrepareParams.t ->
+ t| TextDocumentCodeLens : Types.CodeLensParams.t -> Types.CodeLens.t list t| InlayHint : Types.InlayHintParams.t -> Types.InlayHint.t list option t| InlayHintResolve : Types.InlayHint.t -> Types.InlayHint.t t| TextDocumentDiagnostic : Types.DocumentDiagnosticParams.t -> Types.DocumentDiagnosticReport.t
+ t| TextDocumentInlineCompletion : Types.InlineCompletionParams.t -> [ `InlineCompletion of
+ Types.InlineCompletionList.t
+ | `InlineCompletionItem of
+ Types.InlineCompletionItem.t
+ list ]
+ option
+ t| TextDocumentInlineValue : Types.InlineValueParams.t -> Types.InlineValue.t list
+ option
+ t| TextDocumentCodeLensResolve : Types.CodeLens.t -> Types.CodeLens.t t| TextDocumentPrepareCallHierarchy : Types.CallHierarchyPrepareParams.t ->
Types.CallHierarchyItem.t list option
+ t| TextDocumentPrepareTypeHierarchy : Types.TypeHierarchyPrepareParams.t ->
+ Types.TypeHierarchyItem.t list option
t| TextDocumentPrepareRename : Types.PrepareRenameParams.t -> Types.Range.t option
t| TextDocumentRangeFormatting : Types.DocumentRangeFormattingParams.t ->
+ Types.TextEdit.t list option
+ t| TextDocumentRangesFormatting : Types.DocumentRangesFormattingParams.t ->
Types.TextEdit.t list option
t| TextDocumentRename : Types.RenameParams.t -> Types.WorkspaceEdit.t t| TextDocumentLink : Types.DocumentLinkParams.t -> Types.DocumentLink.t list
option
@@ -28,7 +41,7 @@
t| WorkspaceSymbol : Types.WorkspaceSymbolParams.t -> Types.SymbolInformation.t
list
option
- t| DebugEcho : Extension.DebugEcho.Params.t -> Extension.DebugEcho.Result.t t| DebugTextDocumentGet : Extension.DebugTextDocumentGet.Params.t -> Extension.DebugTextDocumentGet.Result.t
+ t| WorkspaceSymbolResolve : Types.WorkspaceSymbol.t -> Types.WorkspaceSymbol.t t| DebugEcho : Extension.DebugEcho.Params.t -> Extension.DebugEcho.Result.t t| DebugTextDocumentGet : Extension.DebugTextDocumentGet.Params.t -> Extension.DebugTextDocumentGet.Result.t
t| TextDocumentReferences : Types.ReferenceParams.t -> Types.Location.t list
option
t| TextDocumentHighlight : Types.DocumentHighlightParams.t -> Types.DocumentHighlight.t
@@ -63,7 +76,14 @@
Types.CallHierarchyIncomingCall.t list option
t| CallHierarchyOutgoingCalls : Types.CallHierarchyOutgoingCallsParams.t ->
Types.CallHierarchyOutgoingCall.t list option
- t| WillCreateFiles : Types.CreateFilesParams.t -> Types.WorkspaceEdit.t option t| WillDeleteFiles : Types.DeleteFilesParams.t -> Types.WorkspaceEdit.t option t| WillRenameFiles : Types.RenameFilesParams.t -> Types.WorkspaceEdit.t option t| UnknownRequest : {meth : string;params : Jsonrpc.Structured.t option;} -> Import.Json.t tval yojson_of_result : 'a t -> 'a -> Import.Json.tval of_jsonrpc : Jsonrpc.Request.t -> (packed, string) Import.Result.tval to_jsonrpc_request : _ t -> id:Jsonrpc.Id.t -> Jsonrpc.Request.tval response_of_json : 'a t -> Import.Json.t -> 'aval text_document :
+ t| WillCreateFiles : Types.CreateFilesParams.t -> Types.WorkspaceEdit.t option t| WillDeleteFiles : Types.DeleteFilesParams.t -> Types.WorkspaceEdit.t option t| WillRenameFiles : Types.RenameFilesParams.t -> Types.WorkspaceEdit.t option t| WorkspaceDiagnostic : Types.WorkspaceDiagnosticParams.t -> Types.WorkspaceDiagnosticReport.t
+ t| TypeHierarchySubtypes : Types.TypeHierarchySubtypesParams.t -> Types.TypeHierarchyItem.t
+ list
+ option
+ t| TypeHierarchySupertypes : Types.TypeHierarchySupertypesParams.t -> Types.TypeHierarchyItem.t
+ list
+ option
+ t| UnknownRequest : {meth : string;params : Jsonrpc.Structured.t option;} -> Import.Json.t tval yojson_of_result : 'a t -> 'a -> Import.Json.tval of_jsonrpc : Jsonrpc.Request.t -> (packed, string) Import.Result.tval to_jsonrpc_request : _ t -> id:Jsonrpc.Id.t -> Jsonrpc.Request.tval response_of_json : 'a t -> Import.Json.t -> 'aval text_document :
_ t ->
(meth:string ->
params:Jsonrpc.Structured.t option ->
diff --git a/lsp/Lsp/Server_request/index.html b/lsp/Lsp/Server_request/index.html
index e2b51d10..c6647854 100644
--- a/lsp/Lsp/Server_request/index.html
+++ b/lsp/Lsp/Server_request/index.html
@@ -3,4 +3,4 @@
t| WorkspaceFolders : Types.WorkspaceFolder.t list t| WorkspaceConfiguration : Types.ConfigurationParams.t -> Import.Json.t list t| ClientRegisterCapability : Types.RegistrationParams.t -> unit t| ClientUnregisterCapability : Types.UnregistrationParams.t -> unit t| ShowMessageRequest : Types.ShowMessageRequestParams.t -> Types.MessageActionItem.t
option
t| ShowDocumentRequest : Types.ShowDocumentParams.t -> Types.ShowDocumentResult.t
- t| WorkDoneProgressCreate : Types.WorkDoneProgressCreateParams.t -> unit t| CodeLensRefresh : unit t| SemanticTokensRefresh : unit t| WorkspaceDiagnosticRefresh : unit t| UnknownRequest : string * Jsonrpc.Structured.t option -> Import.Json.t tval yojson_of_result : 'a t -> 'a -> Import.Json.tval to_jsonrpc_request : _ t -> id:Jsonrpc.Id.t -> Jsonrpc.Request.tval of_jsonrpc : Jsonrpc.Request.t -> (packed, string) Import.Result.tval response_of_json : 'a t -> Import.Json.t -> 'a