|
1 | 1 | [ |
2 | 2 | { |
3 | 3 | "title": "Analyzer", |
| 4 | + "order": 1, |
4 | 5 | "properties": { |
5 | 6 | "dart.additionalAnalyzerFileExtensions": { |
6 | 7 | "type": "array", |
|
99 | 100 | }, |
100 | 101 | { |
101 | 102 | "title": "DevTools", |
| 103 | + "order": 1, |
102 | 104 | "properties": { |
103 | 105 | "dart.updateDevTools": { |
104 | 106 | "type": "boolean", |
|
180 | 182 | }, |
181 | 183 | { |
182 | 184 | "title": "Editor", |
| 185 | + "order": 1, |
183 | 186 | "properties": { |
184 | 187 | "dart.analysisServerFolding": { |
185 | 188 | "type": "boolean", |
|
321 | 324 | }, |
322 | 325 | { |
323 | 326 | "title": "Flutter", |
| 327 | + "order": 1, |
324 | 328 | "properties": { |
325 | 329 | "dart.flutterAdbConnectOnChromeOs": { |
326 | 330 | "type": "boolean", |
|
504 | 508 | "markdownDescription": "When to show the Flutter headless web-server device. This requires using the Dart Debug extension for Chrome and is usually only used for remote environments where Chrome is not available such as browser/cloud-based IDEs (requires restart).", |
505 | 509 | "scope": 3 |
506 | 510 | }, |
507 | | - "dart.flutterStructuredErrors": { |
508 | | - "type": "boolean", |
509 | | - "default": true, |
510 | | - "markdownDescription": "Whether to use Flutter's [structured error support](https://medium.com/flutter/improving-flutters-error-messages-e098513cecf9) for improved error display.", |
511 | | - "scope": 4 |
512 | | - }, |
513 | 511 | "dart.flutterTestAdditionalArgs": { |
514 | 512 | "type": "array", |
515 | 513 | "default": [], |
|
544 | 542 | }, |
545 | 543 | { |
546 | 544 | "title": "Logging", |
| 545 | + "order": 1, |
547 | 546 | "properties": { |
548 | 547 | "dart.analyzerInstrumentationLogFile": { |
549 | 548 | "type": [ |
|
654 | 653 | }, |
655 | 654 | { |
656 | 655 | "title": "Pub", |
| 656 | + "order": 1, |
657 | 657 | "properties": { |
658 | 658 | "dart.promptToGetPackages": { |
659 | 659 | "type": "boolean", |
|
680 | 680 | }, |
681 | 681 | { |
682 | 682 | "title": "Run and Debug", |
| 683 | + "order": 1, |
683 | 684 | "properties": { |
684 | 685 | "dart.buildRunnerAdditionalArgs": { |
685 | 686 | "type": "array", |
|
779 | 780 | "Suppress test timeouts both when Running and Debugging" |
780 | 781 | ], |
781 | 782 | "default": "never", |
782 | | - "markdownDescription": "Whether to suppress test timeouts when running/debugging tests. This currently works by increasing the default timeout to 1d but will not affect tests that have explicit (non-factor) timeouts set with @timeout.", |
| 783 | + "markdownDescription": "Whether to suppress test timeouts when running/debugging tests. To work properly this requires package:test version 1.20.1 or newer. For older versions, the default timeout will be increased to 1d but this will not affect tests that have explicit (non-factor) timeouts set with @timeout.", |
783 | 784 | "scope": 4 |
784 | 785 | }, |
785 | 786 | "dart.cliAdditionalArgs": { |
|
813 | 814 | }, |
814 | 815 | { |
815 | 816 | "title": "SDK", |
| 817 | + "order": 1, |
816 | 818 | "properties": { |
817 | 819 | "dart.checkForSdkUpdates": { |
818 | 820 | "type": "boolean", |
|
866 | 868 | }, |
867 | 869 | { |
868 | 870 | "title": "Testing", |
| 871 | + "order": 1, |
869 | 872 | "properties": { |
870 | 873 | "dart.allowTestsOutsideTestFolder": { |
871 | 874 | "type": "boolean", |
|
897 | 900 | }, |
898 | 901 | { |
899 | 902 | "title": "Other", |
900 | | - "order": 9, |
| 903 | + "order": 2, |
901 | 904 | "properties": { |
902 | | - "dart.allowAnalytics": { |
903 | | - "type": "boolean", |
904 | | - "default": true, |
905 | | - "description": "Whether to send analytics such as startup timings, frequency of use of features and analysis server crashes.", |
| 905 | + "dart.projectSearchDepth": { |
| 906 | + "type": "number", |
| 907 | + "default": 3, |
| 908 | + "description": "How many levels (including the workspace roots) down the workspace to search for Dart/Flutter projects. Increasing this number may help detect Flutter projects that are deeply nested in your workspace but slow down all operations that search for projects, including extension activation.", |
906 | 909 | "scope": 3 |
907 | 910 | }, |
908 | 911 | "dart.env": { |
|
915 | 918 | }, |
916 | 919 | { |
917 | 920 | "title": "Experimental", |
918 | | - "order": 10, |
| 921 | + "order": 3, |
919 | 922 | "properties": { |
920 | 923 | "dart.enableServerSnippets": { |
921 | 924 | "type": "boolean", |
922 | 925 | "default": false, |
923 | | - "markdownDescription": "This setting is currently unused and should be left set to 'false'. It will be updated and enabled by default in the future.", |
| 926 | + "markdownDescription": "Whether to enable using code snippets from the Dart Analysis Server and disable the snippets included in the extension. If the version of the Dart/Flutter SDK you're using does not support server snippets, this will result in no snippets being available.", |
924 | 927 | "scope": 3 |
925 | 928 | }, |
926 | 929 | "dart.normalizeFileCasing": { |
|
958 | 961 | "default": false, |
959 | 962 | "markdownDescription": "Whether to perform hot reload on save based on a filesystem watcher for Dart files rather than using VS Code's `onDidSave` event. This allows reloads to trigger when external tools modify Dart source files.", |
960 | 963 | "scope": 3 |
| 964 | + }, |
| 965 | + "dart.previewSdkDaps": { |
| 966 | + "type": "boolean", |
| 967 | + "default": false, |
| 968 | + "markdownDescription": "PREVIEW: Whether to use the new debug adapters shipped in the Dart and Flutter SDKs. This setting will only apply if your SDK is new enough to include an appropriate version of the DAP server.", |
| 969 | + "scope": 3 |
961 | 970 | } |
962 | 971 | } |
963 | 972 | } |
|
0 commit comments