testGoldens function from the from golden_toolkit package will no longer cause issues when trying to run/view the results of tests in the tree. Tests may still appear duplicated in the tree if you are using a version of golden_toolkit that does not include this PR (the fix for that is to upgrade the golden_toolkit package).Run/Debug CodeLens links has been simplified so that it can be done with a single field (and now also applies to executions of tests from the test runner): "configurations": [
{
"name": "Tests (VM+Chrome, Static Seed)",
"request": "launch",
"type": "dart",
// Set "templateFor" to a path for this config to be used for all
// Run/Debug links on CodeLens, or running from the test runner.
// Set to an empty string "" for it to apply to the whole project.
"templateFor": "test", // everything in test folder
"args": [
"-p", "chrome,vm",
"--test-randomize-ordering-seed=12345",
],
"env": {
"MY_ENV_VAR": "foo"
}
}
]
customToolReplacesArgs field in launch configurations (used to run custom tools in place of dart or flutter when launching apps) can now be used to replace all tool arguments. However, custom tools must still be compatible with the tool they replace. Replacing/removing the --start-paused argument does not remove the requirement for the custom tool to start the app paused, for example.dart.triggerSignatureHelpAutomatically setting has been removed in favour of the built-in editor.parameterHints.enabled VS Code setting that does the same.<enter> after starting a triple-quoted string (''' or """) will no longer add unwanted indenting."console": "terminal" or "console": "externalTerminal" in the launch configuration for a Flutter app will now produce a notification that this is not supported (instead of being silently ignored).customTool field for launch configurations is now supported for Flutter apps.dart doc command instead of the deprecated dartdoc when using a recent enough SDK.devtools, webdev) will no longer be reactivated every session if the current latest published version has been retracted.These items rely on changes to the Dart/Flutter SDKs that have not yet been released to stable channels. They will show up automatically when you update your SDK in future (or if using beta/development channels depending on the exact version).
"instance" semantic token modifier has been added to instance members, allowing them to be themed/colored separately to other symbols.required keyword for required named arguments if the library is null-safe.cart_code_metrics will no longer cause the servers view of a file to become out-of-sync with the editor, resulting in spurious diagnostic errors/warnings being reported.conditional_uri_does_not_exist allows validating conditional import URIs to ensure they exist.is check).pubspec.yaml should now be available more reliably after saving and waiting for the *pub get command to complete.flutter_gen package failing to resolve.