File tree Expand file tree Collapse file tree 2 files changed +36
-1
lines changed
tests/analysis_tests/tests Expand file tree Collapse file tree 2 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 349
349
"description" : " (Not implemented yet)"
350
350
}
351
351
]
352
+ },
353
+ "editor" : {
354
+ "type" : " object" ,
355
+ "properties" : {
356
+ "autocompleteConfig" : {
357
+ "type" : " object" ,
358
+ "properties" : {
359
+ "array" : {
360
+ "type" : " array" ,
361
+ "items" : {
362
+ "type" : " string"
363
+ }
364
+ }
365
+ },
366
+ "patternProperties" : {
367
+ "^[a-zA-Z0-9_.]+$" : {
368
+ "type" : " array" ,
369
+ "items" : {
370
+ "type" : " string"
371
+ }
372
+ }
373
+ }
374
+ }
375
+ },
376
+ "additionalProperties" : false
352
377
}
353
378
},
354
379
"title" : " ReScript build configuration" ,
472
497
"reanalyze" : {
473
498
"$ref" : " #/definitions/reanalyze" ,
474
499
"description" : " Configure reanalyze, a static code analysis tool for ReScript."
500
+ },
501
+ "editor" : {
502
+ "$ref" : " #/definitions/editor" ,
503
+ "description" : " Configure editor functionality, like modules that should be included in autocompletions for given (built-in) types."
475
504
}
476
505
},
477
506
"additionalProperties" : false ,
Original file line number Diff line number Diff line change 12
12
"bsc-flags" : [" -w -33-44-8" ],
13
13
"bs-dependencies" : [" @rescript/react" ],
14
14
"jsx" : { "version" : 4 },
15
- "suffix" : " .res.js"
15
+ "suffix" : " .res.js" ,
16
+ "editor" : {
17
+ "autocompleteConfig" : {
18
+ "array" : [" ArrayUtils" ],
19
+ "Fastify.t" : [" FastifyExt" ]
20
+ }
21
+ }
16
22
}
You can’t perform that action at this time.
0 commit comments