You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ocaml-lsp-server/docs/ocamllsp/merlinJump-spec.md
+31-18Lines changed: 31 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,36 +6,49 @@ This custom request allows Merlin-type code navigation in a source buffer.
6
6
7
7
## Server capability
8
8
9
-
- propert name: `handleMerlinJump`
9
+
- propert name: `handleJump`
10
10
- property type: `boolean`
11
11
12
12
## Request
13
13
14
+
- method: `ocamllsp/jump`
15
+
- params: `JumpParams` extends [TextDocumentPositionParams](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocumentPositionParams) and is defined as follows:
* If omitted, all valid targets will be considered.
25
+
*/
26
+
target?: string;
18
27
}
19
28
```
20
29
21
-
- method: `ocamllsp/merlinJump`
22
-
- params:
23
-
-`TextDocument`: Specifies the document for which the request is sent. It includes a uri property that points to the document.
24
-
-`Position`: Specifies the position in the document for which the documentation is requested. It includes line and character properties.
25
-
More details can be found in the [Position - LSP Specification](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#position) and [TextDocument](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocumentIdentifier)
0 commit comments