|
16 | 16 | }
|
17 | 17 | },
|
18 | 18 | "codeLens": {
|
19 |
| - "$ref": "#/$defs/EmmyrcCodeLen", |
| 19 | + "$ref": "#/$defs/EmmyrcCodeLens", |
20 | 20 | "default": {
|
21 | 21 | "enable": true
|
22 | 22 | }
|
|
438 | 438 | "type": "object",
|
439 | 439 | "properties": {
|
440 | 440 | "insertSpace": {
|
441 |
| - "description": "Whether to insert space after '---'", |
| 441 | + "description": "Add space after `---` comments when inserting `@diagnostic disable-next-line`.", |
442 | 442 | "type": "boolean",
|
443 |
| - "default": false |
| 443 | + "default": false, |
| 444 | + "x-vscode-setting": true |
444 | 445 | }
|
445 | 446 | }
|
446 | 447 | },
|
447 |
| - "EmmyrcCodeLen": { |
| 448 | + "EmmyrcCodeLens": { |
448 | 449 | "type": "object",
|
449 | 450 | "properties": {
|
450 | 451 | "enable": {
|
451 |
| - "description": "Whether to enable code lens.", |
| 452 | + "description": "Enable code lens.", |
452 | 453 | "type": "boolean",
|
453 |
| - "default": true |
| 454 | + "default": true, |
| 455 | + "x-vscode-setting": true |
454 | 456 | }
|
455 | 457 | }
|
456 | 458 | },
|
|
459 | 461 | "type": "object",
|
460 | 462 | "properties": {
|
461 | 463 | "autoRequire": {
|
462 |
| - "description": "Whether to automatically require modules.", |
| 464 | + "description": "Automatically insert call to `require` when autocompletion\ninserts objects from other modules.", |
463 | 465 | "type": "boolean",
|
464 |
| - "default": true |
| 466 | + "default": true, |
| 467 | + "x-vscode-setting": true |
465 | 468 | },
|
466 | 469 | "autoRequireFunction": {
|
467 | 470 | "description": "The function used for auto-requiring modules.",
|
|
479 | 482 | "default": "."
|
480 | 483 | },
|
481 | 484 | "baseFunctionIncludesName": {
|
482 |
| - "description": "Whether to include the name in the base function completion. effect: `function () end` -> `function name() end`.", |
| 485 | + "description": "Whether to include the name in the base function completion. Effect: `function () end` -> `function name() end`.", |
483 | 486 | "type": "boolean",
|
484 |
| - "default": true |
| 487 | + "default": true, |
| 488 | + "x-vscode-setting": true |
485 | 489 | },
|
486 | 490 | "callSnippet": {
|
487 | 491 | "description": "Whether to use call snippets in completions.",
|
488 | 492 | "type": "boolean",
|
489 | 493 | "default": false
|
490 | 494 | },
|
491 | 495 | "enable": {
|
492 |
| - "description": "Whether to enable code completion.", |
| 496 | + "description": "Enable autocompletion.", |
493 | 497 | "type": "boolean",
|
494 |
| - "default": true |
| 498 | + "default": true, |
| 499 | + "x-vscode-setting": true |
495 | 500 | },
|
496 | 501 | "postfix": {
|
497 |
| - "description": "The postfix trigger used in completions.", |
498 |
| - "type": "string", |
499 |
| - "default": "@" |
| 502 | + "description": "Symbol that's used to trigger postfix autocompletion.", |
| 503 | + "type": "string", |
| 504 | + "default": "@", |
| 505 | + "x-vscode-setting": { |
| 506 | + "default": null, |
| 507 | + "enum": [ |
| 508 | + null, |
| 509 | + "@", |
| 510 | + ".", |
| 511 | + ":" |
| 512 | + ], |
| 513 | + "enumItemLabels": [ |
| 514 | + "Default" |
| 515 | + ], |
| 516 | + "markdownEnumDescriptions": [ |
| 517 | + "%config.common.enum.default.description%" |
| 518 | + ], |
| 519 | + "type": [ |
| 520 | + "string", |
| 521 | + "null" |
| 522 | + ] |
| 523 | + } |
500 | 524 | }
|
501 | 525 | }
|
502 | 526 | },
|
|
505 | 529 | "type": "object",
|
506 | 530 | "properties": {
|
507 | 531 | "diagnosticInterval": {
|
508 |
| - "description": "The interval in milliseconds to perform diagnostics.", |
| 532 | + "description": "Delay between opening/changing a file and scanning it for errors, in milliseconds.", |
509 | 533 | "type": [
|
510 | 534 | "integer",
|
511 | 535 | "null"
|
512 | 536 | ],
|
513 | 537 | "format": "uint64",
|
514 |
| - "minimum": 0 |
| 538 | + "minimum": 0, |
| 539 | + "x-vscode-setting": true |
515 | 540 | },
|
516 | 541 | "disable": {
|
517 | 542 | "description": "A list of diagnostic codes that are disabled.",
|
|
585 | 610 | "type": "object",
|
586 | 611 | "properties": {
|
587 | 612 | "enable": {
|
588 |
| - "description": "Whether to enable document color.", |
| 613 | + "description": "Enable parsing strings for color tags and showing a color picker next to them.", |
589 | 614 | "type": "boolean",
|
590 |
| - "default": true |
| 615 | + "default": true, |
| 616 | + "x-vscode-setting": true |
591 | 617 | }
|
592 | 618 | }
|
593 | 619 | },
|
|
624 | 650 | "type": "object",
|
625 | 651 | "properties": {
|
626 | 652 | "enable": {
|
627 |
| - "description": "Whether to enable hover.", |
| 653 | + "description": "Enable showing documentation on hover.", |
628 | 654 | "type": "boolean",
|
629 |
| - "default": true |
| 655 | + "default": true, |
| 656 | + "x-vscode-setting": true |
630 | 657 | }
|
631 | 658 | }
|
632 | 659 | },
|
633 | 660 | "EmmyrcInlayHint": {
|
634 | 661 | "type": "object",
|
635 | 662 | "properties": {
|
636 | 663 | "enable": {
|
637 |
| - "description": "Whether to enable inlay hints.", |
| 664 | + "description": "Enable inlay hints.", |
638 | 665 | "type": "boolean",
|
639 |
| - "default": true |
| 666 | + "default": true, |
| 667 | + "x-vscode-setting": true |
640 | 668 | },
|
641 | 669 | "enumParamHint": {
|
642 |
| - "description": "Whether to enable enum parameter hints.", |
| 670 | + "description": "Show name of enumerator when passing a literal value to a function\nthat expects an enum.\n\nExample:\n\n```lua\n--- @enum Level\nlocal Foo = {\n Info = 1,\n Error = 2,\n}\n\n--- @param l Level\nfunction print_level(l) end\n\nprint_level(1 --[[ Hint: Level.Info ]])\n```", |
643 | 671 | "type": "boolean",
|
644 |
| - "default": false |
| 672 | + "default": false, |
| 673 | + "x-vscode-setting": true |
645 | 674 | },
|
646 | 675 | "indexHint": {
|
647 |
| - "description": "Whether to enable index hints.", |
| 676 | + "description": "Show named array indexes.\n\nExample:\n\n```lua\nlocal array = {\n [1] = 1, -- [name]\n}\n\nprint(array[1] --[[ Hint: name ]])\n```", |
648 | 677 | "type": "boolean",
|
649 |
| - "default": true |
| 678 | + "default": true, |
| 679 | + "x-vscode-setting": true |
650 | 680 | },
|
651 | 681 | "localHint": {
|
652 |
| - "description": "Whether to enable local hints.\nWhether to enable override hints.", |
| 682 | + "description": "Show types of local variables.", |
653 | 683 | "type": "boolean",
|
654 |
| - "default": true |
| 684 | + "default": true, |
| 685 | + "x-vscode-setting": true |
655 | 686 | },
|
656 | 687 | "metaCallHint": {
|
657 |
| - "description": "Whether to enable meta __call operator hints.", |
| 688 | + "description": "Show hint when calling an object results in a call to\nits meta table's `__call` function.", |
658 | 689 | "type": "boolean",
|
659 |
| - "default": true |
| 690 | + "default": true, |
| 691 | + "x-vscode-setting": true |
660 | 692 | },
|
661 | 693 | "overrideHint": {
|
662 |
| - "description": "Whether to enable override hints.", |
| 694 | + "description": "Show methods that override functions from base class.", |
663 | 695 | "type": "boolean",
|
664 |
| - "default": true |
| 696 | + "default": true, |
| 697 | + "x-vscode-setting": true |
665 | 698 | },
|
666 | 699 | "paramHint": {
|
667 |
| - "description": "Whether to enable parameter hints.", |
| 700 | + "description": "Show parameter names in function calls and parameter types in function definitions.", |
668 | 701 | "type": "boolean",
|
669 |
| - "default": true |
| 702 | + "default": true, |
| 703 | + "x-vscode-setting": true |
670 | 704 | }
|
671 | 705 | }
|
672 | 706 | },
|
673 | 707 | "EmmyrcInlineValues": {
|
674 | 708 | "type": "object",
|
675 | 709 | "properties": {
|
676 | 710 | "enable": {
|
677 |
| - "description": "Whether to enable inline values.", |
| 711 | + "description": "Show inline values during debug.", |
678 | 712 | "type": "boolean",
|
679 |
| - "default": true |
| 713 | + "default": true, |
| 714 | + "x-vscode-setting": true |
680 | 715 | }
|
681 | 716 | }
|
682 | 717 | },
|
|
723 | 758 | "type": "object",
|
724 | 759 | "properties": {
|
725 | 760 | "enable": {
|
726 |
| - "description": "Whether to enable reference search.", |
| 761 | + "description": "Enable searching for symbol usages.", |
727 | 762 | "type": "boolean",
|
728 |
| - "default": true |
| 763 | + "default": true, |
| 764 | + "x-vscode-setting": true |
729 | 765 | },
|
730 | 766 | "fuzzySearch": {
|
731 |
| - "description": "Determines whether to enable fuzzy searching for fields where references cannot be found.", |
| 767 | + "description": "Use fuzzy search when searching for symbol usages\nand normal search didn't find anything.", |
732 | 768 | "type": "boolean",
|
733 |
| - "default": true |
| 769 | + "default": true, |
| 770 | + "x-vscode-setting": true |
734 | 771 | },
|
735 | 772 | "shortStringSearch": {
|
736 |
| - "description": "Cache Short string for search", |
| 773 | + "description": "Also search for usages in strings.", |
737 | 774 | "type": "boolean",
|
738 |
| - "default": false |
| 775 | + "default": false, |
| 776 | + "x-vscode-setting": true |
739 | 777 | }
|
740 | 778 | }
|
741 | 779 | },
|
|
806 | 844 | "type": "object",
|
807 | 845 | "properties": {
|
808 | 846 | "enable": {
|
809 |
| - "description": "Whether to enable semantic token.", |
| 847 | + "description": "Enable semantic tokens.", |
810 | 848 | "type": "boolean",
|
811 |
| - "default": true |
| 849 | + "default": true, |
| 850 | + "x-vscode-setting": true |
812 | 851 | }
|
813 | 852 | }
|
814 | 853 | },
|
|
855 | 894 | "type": "object",
|
856 | 895 | "properties": {
|
857 | 896 | "enableReindex": {
|
858 |
| - "description": "Enable reindex.", |
| 897 | + "description": "Enable full project reindex after changing a file.", |
859 | 898 | "type": "boolean",
|
860 |
| - "default": false |
| 899 | + "default": false, |
| 900 | + "x-vscode-setting": true |
861 | 901 | },
|
862 | 902 | "encoding": {
|
863 | 903 | "description": "Encoding. eg: \"utf-8\"",
|
|
902 | 942 | "default": 0
|
903 | 943 | },
|
904 | 944 | "reindexDuration": {
|
905 |
| - "description": "when save a file, ls will reindex the workspace after reindex_duration milliseconds.", |
| 945 | + "description": "Delay between changing a file and full project reindex, in milliseconds.", |
906 | 946 | "type": "integer",
|
907 | 947 | "format": "uint64",
|
908 | 948 | "default": 5000,
|
909 |
| - "minimum": 0 |
| 949 | + "minimum": 0, |
| 950 | + "x-vscode-setting": true |
910 | 951 | },
|
911 | 952 | "workspaceRoots": {
|
912 | 953 | "description": "Workspace roots. eg: [\"src\", \"test\"]",
|
|
0 commit comments