|
223 | 223 | "scope": "resource", |
224 | 224 | "type": "boolean" |
225 | 225 | }, |
| 226 | + "dart.coverageExcludePatterns": { |
| 227 | + "default": [], |
| 228 | + "items": { |
| 229 | + "type": "string" |
| 230 | + }, |
| 231 | + "markdownDescription": "An array of glob patterns to exclude from code coverage results. Paths matching any of these patterns will still be collected by the Dart VM but not be included in coverage reported to VS Code.", |
| 232 | + "scope": "window", |
| 233 | + "type": "array" |
| 234 | + }, |
226 | 235 | "dart.customDartDapPath": { |
227 | 236 | "default": null, |
228 | 237 | "description": "The path to a custom Dart Debug Adapter. This setting is intended for use by Dart Debug Adapter developers. Use `~` to insert the user's home directory (the path should then use `/` separators even on Windows).", |
|
577 | 586 | "scope": "window", |
578 | 587 | "type": "boolean" |
579 | 588 | }, |
| 589 | + "dart.experimentalFlutterWidgetPreview": { |
| 590 | + "default": false, |
| 591 | + "markdownDescription": "EXPERIMENTAL: Whether to enable the Flutter Widget Preview experimental feature. This feature requires an unreleased version of Flutter from the `master` branch.", |
| 592 | + "scope": "window", |
| 593 | + "type": "boolean" |
| 594 | + }, |
| 595 | + "dart.experimentalFlutterWidgetPreviewLocation": { |
| 596 | + "default": "sidebar", |
| 597 | + "enum": [ |
| 598 | + "beside", |
| 599 | + "sidebar" |
| 600 | + ], |
| 601 | + "enumDescriptions": [ |
| 602 | + "Open the Flutter Widget Preview beside the active editor", |
| 603 | + "Open the Flutter Widget Preview in the sidebar" |
| 604 | + ], |
| 605 | + "markdownDescription": "Where to display the Flutter Widget Preview.", |
| 606 | + "scope": "window", |
| 607 | + "type": "string" |
| 608 | + }, |
580 | 609 | "dart.experimentalRefactors": { |
581 | 610 | "default": false, |
582 | 611 | "markdownDescription": "Whether to enable experimental (possibly unfinished or unstable) refactors on the lightbulb menu. This setting is intended for use by Dart Analysis Server developers or users that want to try out and provide feedback on in-progress refactors.", |
|
864 | 893 | "markdownDescription": "Sets the [Web renderer](https://flutter.dev/to/web-renderers) used for Flutter web apps.", |
865 | 894 | "scope": "window" |
866 | 895 | }, |
| 896 | + "dart.flutterWidgetPreviewLogFile": { |
| 897 | + "default": null, |
| 898 | + "markdownDescription": "The path to a log file for the `flutter widget-preview` service. Use `${workspaceName}` to insert the name of the current workspace in the file path. Use `~` to insert the user's home directory (the path should then use `/` separators even on Windows). Only the noted substitutions are supported, others will stay as-is.", |
| 899 | + "scope": "machine-overridable", |
| 900 | + "type": [ |
| 901 | + "null", |
| 902 | + "string" |
| 903 | + ] |
| 904 | + }, |
867 | 905 | "dart.getDartSdkCommand": { |
868 | 906 | "additionalProperties": false, |
869 | 907 | "default": null, |
|
1046 | 1084 | "string" |
1047 | 1085 | ] |
1048 | 1086 | }, |
| 1087 | + "dart.mcpServerTools": { |
| 1088 | + "additionalProperties": { |
| 1089 | + "type": "boolean" |
| 1090 | + }, |
| 1091 | + "default": { |
| 1092 | + "run_tests": false |
| 1093 | + }, |
| 1094 | + "markdownDescription": "A map of MCP tool names to booleans to enable/disable specific tools from the Dart MCP server. Tools set to `false` will be excluded (if supported). By default, tools that overlap with built-in VS Code functionality will be excluded.", |
| 1095 | + "scope": "window", |
| 1096 | + "type": "object" |
| 1097 | + }, |
1049 | 1098 | "dart.normalizeFileCasing": { |
1050 | 1099 | "default": false, |
1051 | 1100 | "description": "Whether to normalize file casings before sending them to the LSP server. This may fix issues with file_names lints not disappearing after renaming a file if the VS Code API continues to use the original casing.", |
|
1066 | 1115 | }, |
1067 | 1116 | "dart.onlyAnalyzeProjectsWithOpenFiles": { |
1068 | 1117 | "default": false, |
1069 | | - "description": "Whether to ignore workspace folders and perform analysis based on the open files, as if no workspace was open at all. This allows opening large folders without causing them to be completely analyzed.", |
| 1118 | + "description": "Whether to ignore workspace folders and perform analysis based on the open files, as if no workspace was open at all. This allows opening very large folders without causing them to be fully analyzed but will result a lot of re-analysis as files are opened/closed. This is **not** recommended for small or medium sized workspaces, only very large workspaces where you are working in only a small part.", |
1070 | 1119 | "scope": "window", |
1071 | 1120 | "type": "boolean" |
1072 | 1121 | }, |
|
1364 | 1413 | "scope": "window", |
1365 | 1414 | "type": "boolean" |
1366 | 1415 | }, |
| 1416 | + "dart.useFlutterDev": { |
| 1417 | + "default": false, |
| 1418 | + "description": "Whether to use `flutter-dev` instead of `flutter`. This is a script for developers of the `flutter` tool to run from source and will run more slowly than the compiled tool.", |
| 1419 | + "scope": "window", |
| 1420 | + "type": "boolean" |
| 1421 | + }, |
1367 | 1422 | "dart.useLegacyDebugAdapters": { |
1368 | 1423 | "default": null, |
1369 | 1424 | "markdownDescription": "**LEGACY SETTING: Legacy debug adapters are not recommended since Dart v3.4.**\n\nWhether to use the legacy debug adapters even if the new debug adapters are available in the current Dart/Flutter SDKs contain. Setting the value to `true` will force use of the legacay adapters. Setting to `false` will force use of the SDK adapters. Leaving as `null` will allow the extension to decide which debug adapters to use depending on the SDK version and rollout progress.", |
|
0 commit comments