diff --git a/schemas/dartls.json b/schemas/dartls.json index 88f175f..b099427 100644 --- a/schemas/dartls.json +++ b/schemas/dartls.json @@ -586,32 +586,18 @@ "scope": "window", "type": "boolean" }, - "dart.experimentalFlutterWidgetPreview": { - "default": false, - "markdownDescription": "EXPERIMENTAL: Whether to enable the Flutter Widget Preview experimental feature. This feature requires an unreleased version of Flutter from the `master` branch.", - "scope": "window", - "type": "boolean" - }, - "dart.experimentalFlutterWidgetPreviewLocation": { - "default": "sidebar", - "enum": [ - "beside", - "sidebar" - ], - "enumDescriptions": [ - "Open the Flutter Widget Preview beside the active editor", - "Open the Flutter Widget Preview in the sidebar" - ], - "markdownDescription": "Where to display the Flutter Widget Preview.", - "scope": "window", - "type": "string" - }, "dart.experimentalRefactors": { "default": false, "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.", "scope": "window", "type": "boolean" }, + "dart.experimentalTestTracking": { + "default": false, + "markdownDescription": "Whether to enable experimental tracking of test locations. This may improve the experience when using packages like `pkg:test_reflective_loader` where tests are only discovered during test runs and not during coding.", + "scope": "window", + "type": "boolean" + }, "dart.extensionLogFile": { "default": null, "markdownDescription": "The path to a low-traffic log file for basic extension and editor issues. 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.", @@ -893,6 +879,20 @@ "markdownDescription": "Sets the [Web renderer](https://flutter.dev/to/web-renderers) used for Flutter web apps.", "scope": "window" }, + "dart.flutterWidgetPreviewLocation": { + "default": "sidebar", + "enum": [ + "beside", + "sidebar" + ], + "enumDescriptions": [ + "Open the Flutter Widget Preview beside the active editor", + "Open the Flutter Widget Preview in the sidebar" + ], + "markdownDescription": "Where to display the Flutter Widget Preview.", + "scope": "window", + "type": "string" + }, "dart.flutterWidgetPreviewLogFile": { "default": null, "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.", diff --git a/schemas/jdtls.json b/schemas/jdtls.json index b020ffe..3f9e1a6 100644 --- a/schemas/jdtls.json +++ b/schemas/jdtls.json @@ -841,7 +841,7 @@ "on", "off" ], - "markdownDescription": "[Experimental] Specify whether to enable Javac-based compilation in the language server. Requires running this extension with Java 24", + "markdownDescription": "[Experimental] Specify whether to enable Javac-based compilation in the language server. Requires running this extension with Java 25", "order": 95, "scope": "window", "type": "string" diff --git a/types/lsp.lua b/types/lsp.lua index f9827f4..620848e 100644 --- a/types/lsp.lua +++ b/types/lsp.lua @@ -2014,16 +2014,10 @@ ---@field evaluateToStringInDebugViews boolean -- Whether to enable experimental (possibly unfinished or unstable) LSP handlers through DTD. This setting is passed to the analysis server in the connectToDtd request and therefore relies on DTD being supported and enabled for the analysis server (requires restart). ---@field experimentalDtdHandlers boolean --- EXPERIMENTAL: Whether to enable the Flutter Widget Preview experimental feature. This feature requires an unreleased version of Flutter from the `master` branch. ----@field experimentalFlutterWidgetPreview boolean --- Where to display the Flutter Widget Preview. --- --- ```lua --- default = "sidebar" --- ``` ----@field experimentalFlutterWidgetPreviewLocation "beside" | "sidebar" -- 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. ---@field experimentalRefactors boolean +-- Whether to enable experimental tracking of test locations. This may improve the experience when using packages like `pkg:test_reflective_loader` where tests are only discovered during test runs and not during coding. +---@field experimentalTestTracking boolean -- The path to a low-traffic log file for basic extension and editor issues. 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. ---@field extensionLogFile string -- Whether to automatically run `adb connect 100.115.92.2:5555` when spawning the Flutter daemon when running on Chrome OS. @@ -2156,6 +2150,12 @@ -- default = "flutter-default" -- ``` ---@field flutterWebRenderer "flutter-default" | "canvaskit" | "html" | "auto" +-- Where to display the Flutter Widget Preview. +-- +-- ```lua +-- default = "sidebar" +-- ``` +---@field flutterWidgetPreviewLocation "beside" | "sidebar" -- 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. ---@field flutterWidgetPreviewLogFile string -- Get the Dart SDK path from a command. Useful when using tools such as direnv, asdf, mise... The command should exit with a 0 status code and it should print to the standard output just the path to the SDK. If the command fails (non zero exit or bad path), the extension will keep looking for other SDK paths. Some configuration examples can be found in: https://github.com/Dart-Code/Dart-Code/pull/5377 @@ -6217,7 +6217,7 @@ ---@field home string ---@class _.lspconfig.settings.jdtls.Javac --- [Experimental] Specify whether to enable Javac-based compilation in the language server. Requires running this extension with Java 24 +-- [Experimental] Specify whether to enable Javac-based compilation in the language server. Requires running this extension with Java 25 -- -- ```lua -- default = "off"