File tree Expand file tree Collapse file tree 1 file changed +54
-3
lines changed
testsuite/ada_lsp/refactoring_add_parameter/S314-015 Expand file tree Collapse file tree 1 file changed +54
-3
lines changed Original file line number Diff line number Diff line change 205
205
"request" : {
206
206
"jsonrpc" : " 2.0" ,
207
207
"id" : 2 ,
208
+ "method" : " $/alsCheckSyntax" ,
209
+ "params" : {
210
+ "input" : " " ,
211
+ "rules" : [
212
+ " Defining_Id_Rule" ,
213
+ " Defining_Id_List_Rule" ,
214
+ " Param_Spec_Rule"
215
+ ]
216
+ }
217
+ },
218
+ "wait" : [
219
+ {
220
+ "jsonrpc" : " 2.0" ,
221
+ "id" : 2 ,
222
+ "result" : {
223
+ "diagnostic" : " Invalid Syntax"
224
+ }
225
+ }
226
+ ]
227
+ }
228
+ },
229
+ {
230
+ "send" : {
231
+ "request" : {
232
+ "jsonrpc" : " 2.0" ,
233
+ "id" : 3 ,
234
+ "method" : " $/alsCheckSyntax" ,
235
+ "params" : {
236
+ "input" : " B, C" ,
237
+ "rules" : [
238
+ " Defining_Id_Rule" ,
239
+ " Defining_Id_List_Rule" ,
240
+ " Param_Spec_Rule"
241
+ ]
242
+ }
243
+ },
244
+ "wait" : [
245
+ {
246
+ "jsonrpc" : " 2.0" ,
247
+ "id" : 3 ,
248
+ "result" : {
249
+ }
250
+ }
251
+ ]
252
+ }
253
+ },
254
+ {
255
+ "send" : {
256
+ "request" : {
257
+ "jsonrpc" : " 2.0" ,
258
+ "id" : 4 ,
208
259
"method" : " workspace/executeCommand" ,
209
260
"params" : {
210
261
"command" : " als-refactor-add-parameters" ,
270
321
"send" : {
271
322
"request" : {
272
323
"jsonrpc" : " 2.0" ,
273
- "id" : 19 ,
324
+ "id" : 5 ,
274
325
"method" : " textDocument/codeAction" ,
275
326
"params" : {
276
327
"textDocument" : {
294
345
"wait" : [
295
346
{
296
347
"jsonrpc" : " 2.0" ,
297
- "id" : 19 ,
348
+ "id" : 5 ,
298
349
"result" : [
299
350
" <HAS>" ,
300
351
{
334
385
"send" : {
335
386
"request" : {
336
387
"jsonrpc" : " 2.0" ,
337
- "id" : 22 ,
388
+ "id" : 6 ,
338
389
"method" : " shutdown"
339
390
},
340
391
"wait" : []
You can’t perform that action at this time.
0 commit comments