|
319 | 319 | "swift.path": {
|
320 | 320 | "type": "string",
|
321 | 321 | "default": "",
|
322 |
| - "markdownDescription": "Override the default path of the folder containing the Swift executables. The default is to look in the `PATH` environment variable. This path is also used to search for other executables used by the extension like `sourcekit-lsp` and `lldb`." |
| 322 | + "markdownDescription": "Override the default path of the folder containing the Swift executables. The default is to look in the `PATH` environment variable. This path is also used to search for other executables used by the extension like `sourcekit-lsp` and `lldb`.", |
| 323 | + "scope": "machine-overridable" |
323 | 324 | },
|
324 | 325 | "swift.buildArguments": {
|
325 | 326 | "type": "array",
|
326 | 327 | "default": [],
|
327 | 328 | "items": {
|
328 | 329 | "type": "string"
|
329 | 330 | },
|
330 |
| - "markdownDescription": "Additional arguments to pass to `swift build` and `swift test`. Keys and values should be provided as individual entries in the list. If you have created a copy of the build task in `tasks.json` then these build arguments will not be propagated to that task." |
| 331 | + "markdownDescription": "Additional arguments to pass to `swift build` and `swift test`. Keys and values should be provided as individual entries in the list. If you have created a copy of the build task in `tasks.json` then these build arguments will not be propagated to that task.", |
| 332 | + "scope": "machine-overridable" |
331 | 333 | },
|
332 | 334 | "swift.scriptSwiftLanguageVersion": {
|
333 | 335 | "type": "string",
|
|
353 | 355 | "items": {
|
354 | 356 | "type": "string"
|
355 | 357 | },
|
356 |
| - "markdownDescription": "Additional arguments to pass to swift commands that do package resolution, such as `swift package resolve`, `swift package update`, `swift build` and `swift test`. Keys and values should be provided as individual entries in the list." |
| 358 | + "markdownDescription": "Additional arguments to pass to swift commands that do package resolution, such as `swift package resolve`, `swift package update`, `swift build` and `swift test`. Keys and values should be provided as individual entries in the list.", |
| 359 | + "scope": "machine-overridable" |
357 | 360 | },
|
358 | 361 | "swift.additionalTestArguments": {
|
359 | 362 | "type": "array",
|
|
421 | 424 | "When merging diagnostics, give precedence to diagnostics from `swiftc`.",
|
422 | 425 | "When merging diagnostics, give precedence to diagnostics from `SourceKit`.",
|
423 | 426 | "Keep diagnostics from all providers."
|
424 |
| - ] |
| 427 | + ], |
| 428 | + "scope": "machine-overridable" |
425 | 429 | },
|
426 | 430 | "swift.diagnosticsStyle": {
|
427 | 431 | "type": "string",
|
|
436 | 440 | "Use whichever diagnostics style `swiftc` produces by default.",
|
437 | 441 | "Use the `llvm` diagnostic style. This allows the parsing of \"notes\".",
|
438 | 442 | "Use the `swift` diagnostic style. This means that \"notes\" will not be parsed. This option has no effect in Swift versions prior to 5.10."
|
439 |
| - ] |
| 443 | + ], |
| 444 | + "scope": "machine-overridable" |
440 | 445 | },
|
441 | 446 | "swift.backgroundCompilation": {
|
442 | 447 | "type": "boolean",
|
443 | 448 | "default": false,
|
444 |
| - "markdownDescription": "**Experimental**: Run `swift build` in the background whenever a file is saved. It is possible the background compilation will already be running when you attempt a compile yourself, so this is disabled by default." |
| 449 | + "markdownDescription": "**Experimental**: Run `swift build` in the background whenever a file is saved. It is possible the background compilation will already be running when you attempt a compile yourself, so this is disabled by default.", |
| 450 | + "scope": "machine-overridable" |
445 | 451 | },
|
446 | 452 | "swift.actionAfterBuildError": {
|
447 | 453 | "type": "string",
|
|
455 | 461 | "Focus on Problems View",
|
456 | 462 | "Focus on Build Task Terminal"
|
457 | 463 | ],
|
458 |
| - "markdownDescription": "Action after a Build task generates errors." |
| 464 | + "markdownDescription": "Action after a Build task generates errors.", |
| 465 | + "scope": "application" |
459 | 466 | },
|
460 | 467 | "swift.buildPath": {
|
461 | 468 | "type": "string",
|
462 | 469 | "default": "",
|
463 |
| - "markdownDescription": "The path to a directory that will be used for build artifacts. This path will be added to all swift package manager commands that are executed by vscode-swift extension via `--scratch-path` option. When no value provided - nothing gets passed to swift package manager and it will use its default value of `.build` folder in the workspace.\n\nYou can use absolute path for directory or the relative path, which will use the workspace path as a base. Note that VS Code does not respect tildes (`~`) in paths which represents user home folder under *nix systems." |
| 470 | + "markdownDescription": "The path to a directory that will be used for build artifacts. This path will be added to all swift package manager commands that are executed by vscode-swift extension via `--scratch-path` option. When no value provided - nothing gets passed to swift package manager and it will use its default value of `.build` folder in the workspace.\n\nYou can use absolute path for directory or the relative path, which will use the workspace path as a base. Note that VS Code does not respect tildes (`~`) in paths which represents user home folder under *nix systems.", |
| 471 | + "scope": "machine-overridable" |
464 | 472 | },
|
465 | 473 | "swift.disableSwiftPackageManagerIntegration": {
|
466 | 474 | "type": "boolean",
|
467 | 475 | "default": false,
|
468 |
| - "markdownDescription": "Disables automated Build Tasks, Package Dependency view, Launch configuration generation and TestExplorer." |
| 476 | + "markdownDescription": "Disables automated Build Tasks, Package Dependency view, Launch configuration generation and TestExplorer.", |
| 477 | + "scope": "machine-overridable" |
469 | 478 | },
|
470 | 479 | "swift.warnAboutSymlinkCreation": {
|
471 | 480 | "type": "boolean",
|
|
476 | 485 | "swift.enableTerminalEnvironment": {
|
477 | 486 | "type": "boolean",
|
478 | 487 | "default": true,
|
479 |
| - "markdownDescription": "Controls whether or not the extension will contribute environment variables defined in `Swift: Environment Variables` to the integrated terminal. If this is set to `true` and a custom `Swift: Path` is also set then the swift path is appended to the terminal's `PATH`." |
| 488 | + "markdownDescription": "Controls whether or not the extension will contribute environment variables defined in `Swift: Environment Variables` to the integrated terminal. If this is set to `true` and a custom `Swift: Path` is also set then the swift path is appended to the terminal's `PATH`.", |
| 489 | + "scope": "application" |
480 | 490 | },
|
481 | 491 | "swift.pluginArguments": {
|
482 | 492 | "default": [],
|
|
559 | 569 | "items": {
|
560 | 570 | "type": "string"
|
561 | 571 | },
|
562 |
| - "default": [] |
| 572 | + "default": [], |
| 573 | + "scope": "machine-overridable" |
563 | 574 | }
|
564 | 575 | }
|
565 | 576 | },
|
|
592 | 603 | "Show the Swift build status in a status bar item provided by the Swift extension.",
|
593 | 604 | "Show the Swift build status in the \"Progress Message\" status bar item provided by VS Code.",
|
594 | 605 | "Show the Swift build status as a progress notification."
|
595 |
| - ] |
| 606 | + ], |
| 607 | + "scope": "application" |
596 | 608 | },
|
597 | 609 | "swift.showCreateSwiftProjectInWelcomePage": {
|
598 | 610 | "type": "boolean",
|
599 | 611 | "default": true,
|
600 |
| - "markdownDescription": "Controls whether or not the create new swift project button appears in the welcome page." |
| 612 | + "markdownDescription": "Controls whether or not the create new swift project button appears in the welcome page.", |
| 613 | + "scope": "application" |
601 | 614 | },
|
602 | 615 | "swift.openAfterCreateNewProject": {
|
603 | 616 | "type": "string",
|
|
614 | 627 | "Always prompt for action."
|
615 | 628 | ],
|
616 | 629 | "default": "prompt",
|
617 |
| - "markdownDescription": "Controls whether to open a swift project automatically after creating it." |
| 630 | + "markdownDescription": "Controls whether to open a swift project automatically after creating it.", |
| 631 | + "scope": "application" |
618 | 632 | }
|
619 | 633 | }
|
620 | 634 | },
|
|
656 | 670 | "cpp"
|
657 | 671 | ]
|
658 | 672 | },
|
659 |
| - "order": 3 |
| 673 | + "order": 3, |
| 674 | + "scope": "machine-overridable" |
660 | 675 | },
|
661 | 676 | "swift.sourcekit-lsp.backgroundIndexing": {
|
662 | 677 | "type": "string",
|
|
667 | 682 | ],
|
668 | 683 | "default": "auto",
|
669 | 684 | "markdownDescription": "Turns background indexing `on` or `off`. `auto` will enable background indexing if the Swift version is >= 6.1. This option has no effect in Swift versions prior to 6.0.",
|
670 |
| - "order": 4 |
| 685 | + "order": 4, |
| 686 | + "scope": "machine-overridable" |
671 | 687 | },
|
672 | 688 | "swift.sourcekit-lsp.trace.server": {
|
673 | 689 | "type": "string",
|
|
678 | 694 | "verbose"
|
679 | 695 | ],
|
680 | 696 | "markdownDescription": "Controls logging the communication between VS Code and the SourceKit-LSP language server. Logs can be viewed in Output > SourceKit Language Server.",
|
681 |
| - "order": 5 |
| 697 | + "order": 5, |
| 698 | + "scope": "machine-overridable" |
682 | 699 | },
|
683 | 700 | "swift.sourcekit-lsp.disable": {
|
684 | 701 | "type": "boolean",
|
685 | 702 | "default": false,
|
686 | 703 | "markdownDescription": "Disable SourceKit-LSP. This will turn off features like code completion, error diagnostics and jump-to-definition. Features like swift-testing test discovery will not work correctly.",
|
687 |
| - "order": 6 |
| 704 | + "order": 6, |
| 705 | + "scope": "machine-overridable" |
688 | 706 | },
|
689 | 707 | "sourcekit-lsp.inlayHints.enabled": {
|
690 | 708 | "type": "boolean",
|
|
758 | 776 | "Use the CodeLLDB extension's debug adapter."
|
759 | 777 | ],
|
760 | 778 | "markdownDescription": "Select which debug adapter to use to debug Swift executables.",
|
761 |
| - "order": 1 |
| 779 | + "order": 1, |
| 780 | + "scope": "machine-overridable" |
762 | 781 | },
|
763 | 782 | "swift.debugger.path": {
|
764 | 783 | "type": "string",
|
765 | 784 | "default": "",
|
766 | 785 | "markdownDescription": "Path to lldb debug adapter.",
|
767 |
| - "order": 2 |
| 786 | + "order": 2, |
| 787 | + "scope": "machine-overridable" |
768 | 788 | },
|
769 | 789 | "swift.debugger.setupCodeLLDB": {
|
770 | 790 | "type": "string",
|
|
782 | 802 | "Never automatically update CodeLLDB settings when they are incorrect."
|
783 | 803 | ],
|
784 | 804 | "markdownDescription": "Choose how CodeLLDB settings are updated when debugging Swift executables.",
|
785 |
| - "order": 3 |
| 805 | + "order": 3, |
| 806 | + "scope": "application" |
786 | 807 | },
|
787 | 808 | "swift.debugger.useDebugAdapterFromToolchain": {
|
788 | 809 | "type": "boolean",
|
|
805 | 826 | },
|
806 | 827 | "default": {},
|
807 | 828 | "markdownDescription": "Additional environment variables to pass to swift operations (`swift build`, `swift resolve`, etc...).",
|
808 |
| - "order": 1 |
| 829 | + "order": 1, |
| 830 | + "scope": "machine-overridable" |
809 | 831 | },
|
810 | 832 | "swift.runtimePath": {
|
811 | 833 | "type": "string",
|
812 | 834 | "default": "",
|
813 | 835 | "markdownDescription": "The path of the folder containing the Swift runtime libraries. This is of use when supporting non-standard SDK layouts on Windows. On Windows the runtime path is added to the `Path` environment variable. This is of less use on macOS and Linux but will be added to `DYLD_LIBRARY_PATH` and `LD_LIBRARY_PATH` environment variables respectively on each platform. ",
|
814 |
| - "order": 2 |
| 836 | + "order": 2, |
| 837 | + "scope": "machine-overridable" |
815 | 838 | },
|
816 | 839 | "swift.SDK": {
|
817 | 840 | "type": "string",
|
818 | 841 | "default": "",
|
819 | 842 | "markdownDescription": "The path of the SDK to compile against (`--sdk` parameter). This is of use when supporting non-standard SDK layouts on Windows and using custom SDKs. The default SDK is determined by the environment on macOS and Windows.\n\nFor SwiftPM projects, prefer using `swift.swiftSDK` with a triple (such as `arm64-apple-ios`) or Swift SDK name instead.",
|
820 |
| - "order": 3 |
| 843 | + "order": 3, |
| 844 | + "scope": "machine-overridable" |
821 | 845 | },
|
822 | 846 | "swift.swiftSDK": {
|
823 | 847 | "type": "string",
|
824 | 848 | "default": "",
|
825 |
| - "markdownDescription": "The [Swift SDK](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0387-cross-compilation-destinations.md) to compile against (`--swift-sdk` parameter)." |
| 849 | + "markdownDescription": "The [Swift SDK](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0387-cross-compilation-destinations.md) to compile against (`--swift-sdk` parameter).", |
| 850 | + "scope": "machine-overridable" |
826 | 851 | },
|
827 | 852 | "swift.disableSandox": {
|
828 | 853 | "type": "boolean",
|
829 | 854 | "default": false,
|
830 | 855 | "markdownDescription": "Disable sandboxing when running SwiftPM commands. In most cases you should keep the sandbox enabled and leave this setting set to `false`",
|
831 |
| - "order": 4 |
| 856 | + "order": 4, |
| 857 | + "scope": "machine-overridable" |
832 | 858 | },
|
833 | 859 | "swift.diagnostics": {
|
834 | 860 | "type": "boolean",
|
835 | 861 | "default": false,
|
836 | 862 | "markdownDescription": "Output additional diagnostics to the Swift Output View.",
|
837 |
| - "order": 100 |
| 863 | + "order": 100, |
| 864 | + "scope": "machine-overridable" |
838 | 865 | }
|
839 | 866 | }
|
840 | 867 | }
|
|
0 commit comments