@@ -10,11 +10,11 @@ ContextPath Value[someFunc]
10
10
Path someFunc
11
11
argAtCursor: unlabelled<0>
12
12
extracted params:
13
- []
13
+ [int, ~two: string=?, ~three: unit => unit, ~four: someVariant, unit ]
14
14
{
15
15
"signatures": [{
16
16
"label": "(\n int,\n ~two: string=?,\n ~three: unit => unit,\n ~four: someVariant,\n unit,\n) => unit",
17
- "parameters": [],
17
+ "parameters": [{"label": [4, 7], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}}, {"label": [11, 25], "documentation": {"kind": "markdown", "value": "```rescript\noption<string>\n```"}}, {"label": [29, 49], "documentation": {"kind": "markdown", "value": "```rescript\nunit => unit\n```"}}, {"label": [53, 71], "documentation": {"kind": "markdown", "value": "```rescript\nsomeVariant\n```\n```rescript\ntype someVariant = One | Two | Three\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22SignatureHelp.res%22%2C0%2C0%5D)"}}, {"label": [75, 79], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}} ],
18
18
"documentation": {"kind": "markdown", "value": " Does stuff. "}
19
19
}],
20
20
"activeSignature": 0,
@@ -33,11 +33,11 @@ ContextPath Value[someFunc]
33
33
Path someFunc
34
34
argAtCursor: unlabelled<0>
35
35
extracted params:
36
- []
36
+ [int, ~two: string=?, ~three: unit => unit, ~four: someVariant, unit ]
37
37
{
38
38
"signatures": [{
39
39
"label": "(\n int,\n ~two: string=?,\n ~three: unit => unit,\n ~four: someVariant,\n unit,\n) => unit",
40
- "parameters": [],
40
+ "parameters": [{"label": [4, 7], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}}, {"label": [11, 25], "documentation": {"kind": "markdown", "value": "```rescript\noption<string>\n```"}}, {"label": [29, 49], "documentation": {"kind": "markdown", "value": "```rescript\nunit => unit\n```"}}, {"label": [53, 71], "documentation": {"kind": "markdown", "value": "```rescript\nsomeVariant\n```\n```rescript\ntype someVariant = One | Two | Three\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22SignatureHelp.res%22%2C0%2C0%5D)"}}, {"label": [75, 79], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}} ],
41
41
"documentation": {"kind": "markdown", "value": " Does stuff. "}
42
42
}],
43
43
"activeSignature": 0,
@@ -56,11 +56,11 @@ ContextPath Value[someFunc]
56
56
Path someFunc
57
57
argAtCursor: ~two
58
58
extracted params:
59
- []
59
+ [int, ~two: string=?, ~three: unit => unit, ~four: someVariant, unit ]
60
60
{
61
61
"signatures": [{
62
62
"label": "(\n int,\n ~two: string=?,\n ~three: unit => unit,\n ~four: someVariant,\n unit,\n) => unit",
63
- "parameters": [],
63
+ "parameters": [{"label": [4, 7], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}}, {"label": [11, 25], "documentation": {"kind": "markdown", "value": "```rescript\noption<string>\n```"}}, {"label": [29, 49], "documentation": {"kind": "markdown", "value": "```rescript\nunit => unit\n```"}}, {"label": [53, 71], "documentation": {"kind": "markdown", "value": "```rescript\nsomeVariant\n```\n```rescript\ntype someVariant = One | Two | Three\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22SignatureHelp.res%22%2C0%2C0%5D)"}}, {"label": [75, 79], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}} ],
64
64
"documentation": {"kind": "markdown", "value": " Does stuff. "}
65
65
}],
66
66
"activeSignature": 0,
@@ -79,11 +79,11 @@ ContextPath Value[someFunc]
79
79
Path someFunc
80
80
argAtCursor: ~two
81
81
extracted params:
82
- []
82
+ [int, ~two: string=?, ~three: unit => unit, ~four: someVariant, unit ]
83
83
{
84
84
"signatures": [{
85
85
"label": "(\n int,\n ~two: string=?,\n ~three: unit => unit,\n ~four: someVariant,\n unit,\n) => unit",
86
- "parameters": [],
86
+ "parameters": [{"label": [4, 7], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}}, {"label": [11, 25], "documentation": {"kind": "markdown", "value": "```rescript\noption<string>\n```"}}, {"label": [29, 49], "documentation": {"kind": "markdown", "value": "```rescript\nunit => unit\n```"}}, {"label": [53, 71], "documentation": {"kind": "markdown", "value": "```rescript\nsomeVariant\n```\n```rescript\ntype someVariant = One | Two | Three\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22SignatureHelp.res%22%2C0%2C0%5D)"}}, {"label": [75, 79], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}} ],
87
87
"documentation": {"kind": "markdown", "value": " Does stuff. "}
88
88
}],
89
89
"activeSignature": 0,
@@ -102,11 +102,11 @@ ContextPath Value[someFunc]
102
102
Path someFunc
103
103
argAtCursor: ~four
104
104
extracted params:
105
- []
105
+ [int, ~two: string=?, ~three: unit => unit, ~four: someVariant, unit ]
106
106
{
107
107
"signatures": [{
108
108
"label": "(\n int,\n ~two: string=?,\n ~three: unit => unit,\n ~four: someVariant,\n unit,\n) => unit",
109
- "parameters": [],
109
+ "parameters": [{"label": [4, 7], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}}, {"label": [11, 25], "documentation": {"kind": "markdown", "value": "```rescript\noption<string>\n```"}}, {"label": [29, 49], "documentation": {"kind": "markdown", "value": "```rescript\nunit => unit\n```"}}, {"label": [53, 71], "documentation": {"kind": "markdown", "value": "```rescript\nsomeVariant\n```\n```rescript\ntype someVariant = One | Two | Three\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22SignatureHelp.res%22%2C0%2C0%5D)"}}, {"label": [75, 79], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}} ],
110
110
"documentation": {"kind": "markdown", "value": " Does stuff. "}
111
111
}],
112
112
"activeSignature": 0,
@@ -125,11 +125,11 @@ ContextPath Value[someFunc]
125
125
Path someFunc
126
126
argAtCursor: ~four
127
127
extracted params:
128
- []
128
+ [int, ~two: string=?, ~three: unit => unit, ~four: someVariant, unit ]
129
129
{
130
130
"signatures": [{
131
131
"label": "(\n int,\n ~two: string=?,\n ~three: unit => unit,\n ~four: someVariant,\n unit,\n) => unit",
132
- "parameters": [],
132
+ "parameters": [{"label": [4, 7], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}}, {"label": [11, 25], "documentation": {"kind": "markdown", "value": "```rescript\noption<string>\n```"}}, {"label": [29, 49], "documentation": {"kind": "markdown", "value": "```rescript\nunit => unit\n```"}}, {"label": [53, 71], "documentation": {"kind": "markdown", "value": "```rescript\nsomeVariant\n```\n```rescript\ntype someVariant = One | Two | Three\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22SignatureHelp.res%22%2C0%2C0%5D)"}}, {"label": [75, 79], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}} ],
133
133
"documentation": {"kind": "markdown", "value": " Does stuff. "}
134
134
}],
135
135
"activeSignature": 0,
@@ -148,11 +148,11 @@ ContextPath Value[otherFunc]
148
148
Path otherFunc
149
149
argAtCursor: unlabelled<0>
150
150
extracted params:
151
- []
151
+ [string, int, float ]
152
152
{
153
153
"signatures": [{
154
154
"label": "(string, int, float) => unit",
155
- "parameters": []
155
+ "parameters": [{"label": [1, 7], "documentation": {"kind": "markdown", "value": "```rescript\nstring\n```"}}, {"label": [9, 12], "documentation": {"kind": "markdown", "value": "```rescript\nstring\n```"}}, {"label": [14, 19], "documentation": {"kind": "markdown", "value": "```rescript\nstring\n```"}} ]
156
156
}],
157
157
"activeSignature": 0,
158
158
"activeParameter": 0
@@ -170,11 +170,11 @@ ContextPath Value[otherFunc]
170
170
Path otherFunc
171
171
argAtCursor: unlabelled<0>
172
172
extracted params:
173
- []
173
+ [string, int, float ]
174
174
{
175
175
"signatures": [{
176
176
"label": "(string, int, float) => unit",
177
- "parameters": []
177
+ "parameters": [{"label": [1, 7], "documentation": {"kind": "markdown", "value": "```rescript\nstring\n```"}}, {"label": [9, 12], "documentation": {"kind": "markdown", "value": "```rescript\nstring\n```"}}, {"label": [14, 19], "documentation": {"kind": "markdown", "value": "```rescript\nstring\n```"}} ]
178
178
}],
179
179
"activeSignature": 0,
180
180
"activeParameter": 0
@@ -192,11 +192,11 @@ ContextPath Value[otherFunc]
192
192
Path otherFunc
193
193
argAtCursor: unlabelled<2>
194
194
extracted params:
195
- []
195
+ [string, int, float ]
196
196
{
197
197
"signatures": [{
198
198
"label": "(string, int, float) => unit",
199
- "parameters": []
199
+ "parameters": [{"label": [1, 7], "documentation": {"kind": "markdown", "value": "```rescript\nstring\n```"}}, {"label": [9, 12], "documentation": {"kind": "markdown", "value": "```rescript\nstring\n```"}}, {"label": [14, 19], "documentation": {"kind": "markdown", "value": "```rescript\nstring\n```"}} ]
200
200
}],
201
201
"activeSignature": 0,
202
202
"activeParameter": 2
@@ -214,11 +214,11 @@ ContextPath Value[Completion, Lib, foo]
214
214
Path Completion.Lib.foo
215
215
argAtCursor: ~age
216
216
extracted params:
217
- []
217
+ [~age: int, ~name: string ]
218
218
{
219
219
"signatures": [{
220
220
"label": "(~age: int, ~name: string) => string",
221
- "parameters": []
221
+ "parameters": [{"label": [1, 10], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}}, {"label": [12, 25], "documentation": {"kind": "markdown", "value": "```rescript\nstring\n```"}} ]
222
222
}],
223
223
"activeSignature": 0,
224
224
"activeParameter": 0
@@ -236,11 +236,11 @@ ContextPath Value[iAmSoSpecial]
236
236
Path iAmSoSpecial
237
237
argAtCursor: unlabelled<0>
238
238
extracted params:
239
- []
239
+ [string ]
240
240
{
241
241
"signatures": [{
242
242
"label": "string => unit",
243
- "parameters": []
243
+ "parameters": [{"label": [0, 6], "documentation": {"kind": "markdown", "value": "```rescript\nstring\n```"}} ]
244
244
}],
245
245
"activeSignature": 0,
246
246
"activeParameter": 0
@@ -257,16 +257,16 @@ Package opens Pervasives.JsxModules.place holder
257
257
Resolved opens 1 pervasives
258
258
ContextPath Value[otherFunc]
259
259
Path otherFunc
260
- argAtCursor: unlabelled<0 >
260
+ argAtCursor: unlabelled<1 >
261
261
extracted params:
262
- []
262
+ [string, int, float ]
263
263
{
264
264
"signatures": [{
265
265
"label": "(string, int, float) => unit",
266
- "parameters": []
266
+ "parameters": [{"label": [1, 7], "documentation": {"kind": "markdown", "value": "```rescript\nstring\n```"}}, {"label": [9, 12], "documentation": {"kind": "markdown", "value": "```rescript\nstring\n```"}}, {"label": [14, 19], "documentation": {"kind": "markdown", "value": "```rescript\nstring\n```"}} ]
267
267
}],
268
268
"activeSignature": 0,
269
- "activeParameter": 0
269
+ "activeParameter": 1
270
270
}
271
271
272
272
Signature help src/SignatureHelp.res 62:17
@@ -281,11 +281,11 @@ ContextPath Value[fn]
281
281
Path fn
282
282
argAtCursor: unlabelled<1>
283
283
extracted params:
284
- []
284
+ [int, string, int ]
285
285
{
286
286
"signatures": [{
287
287
"label": "(int, string, int) => unit",
288
- "parameters": []
288
+ "parameters": [{"label": [1, 4], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}}, {"label": [6, 12], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}}, {"label": [14, 17], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}} ]
289
289
}],
290
290
"activeSignature": 0,
291
291
"activeParameter": 1
@@ -303,11 +303,11 @@ ContextPath Value[fn]
303
303
Path fn
304
304
argAtCursor: unlabelled<1>
305
305
extracted params:
306
- []
306
+ [int, string, int ]
307
307
{
308
308
"signatures": [{
309
309
"label": "(int, string, int) => unit",
310
- "parameters": []
310
+ "parameters": [{"label": [1, 4], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}}, {"label": [6, 12], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}}, {"label": [14, 17], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}} ]
311
311
}],
312
312
"activeSignature": 0,
313
313
"activeParameter": 1
@@ -325,11 +325,11 @@ ContextPath Value[fn]
325
325
Path fn
326
326
argAtCursor: unlabelled<2>
327
327
extracted params:
328
- []
328
+ [int, string, int ]
329
329
{
330
330
"signatures": [{
331
331
"label": "(int, string, int) => unit",
332
- "parameters": []
332
+ "parameters": [{"label": [1, 4], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}}, {"label": [6, 12], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}}, {"label": [14, 17], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}} ]
333
333
}],
334
334
"activeSignature": 0,
335
335
"activeParameter": 2
@@ -349,11 +349,11 @@ ContextPath Value[iAmSoSpecial]
349
349
Path iAmSoSpecial
350
350
argAtCursor: unlabelled<0>
351
351
extracted params:
352
- []
352
+ [string ]
353
353
{
354
354
"signatures": [{
355
355
"label": "string => unit",
356
- "parameters": []
356
+ "parameters": [{"label": [0, 6], "documentation": {"kind": "markdown", "value": "```rescript\nstring\n```"}} ]
357
357
}],
358
358
"activeSignature": 0,
359
359
"activeParameter": 0
@@ -375,11 +375,11 @@ ContextPath Value[someFunc]
375
375
Path someFunc
376
376
argAtCursor: unlabelled<0>
377
377
extracted params:
378
- []
378
+ [int, ~two: string=?, ~three: unit => unit, ~four: someVariant, unit ]
379
379
{
380
380
"signatures": [{
381
381
"label": "(\n int,\n ~two: string=?,\n ~three: unit => unit,\n ~four: someVariant,\n unit,\n) => unit",
382
- "parameters": [],
382
+ "parameters": [{"label": [4, 7], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}}, {"label": [11, 25], "documentation": {"kind": "markdown", "value": "```rescript\noption<string>\n```"}}, {"label": [29, 49], "documentation": {"kind": "markdown", "value": "```rescript\nunit => unit\n```"}}, {"label": [53, 71], "documentation": {"kind": "markdown", "value": "```rescript\nsomeVariant\n```\n```rescript\ntype someVariant = One | Two | Three\n```\nGo to: [Type definition](command:rescript-vscode.go_to_location?%5B%22SignatureHelp.res%22%2C0%2C0%5D)"}}, {"label": [75, 79], "documentation": {"kind": "markdown", "value": "```rescript\nint\n```"}} ],
383
383
"documentation": {"kind": "markdown", "value": " Does stuff. "}
384
384
}],
385
385
"activeSignature": 0,
0 commit comments