Hi all,
v3.12 of the VS Code extensions have been published. Release notes below/online.
#1488/#2578: A new setting (dart.previewEmbeddedDevTools
) has been added that allows running DevTools embedded inside the VS Code window. This feature is experimental and requires DevTools v0.2.6 or later.
DevTools will become disconnected when you stop a debug session but if you leave the window open, it will be automatically reconnected when you start a new debug session.
#2150/#2149: Cupertino icons and colors are now rendered in the gutter in addition to Material icons and colors.
#2137/#2560: Calling dart:developer
’s inspect()
function will now print the object to the Debug Console in an expandable form allowing properties to be examined similar to the variables/watch panels.
Note: This only works for non-Widget classes as the Widget Inspector also uses this function in order to navigate source code.
#2475/#2515: Both the Flutter Outline and standard Outline trees have been updated with some additional labels (including return values and text/icons for Text/Icon widgets).
#2482/#2507: The update-imports-on-rename functionality added in the last release is now enabled by default. Set "dart.updateImportsOnRename": false
in your VS Code user settings to disable this.
Color.fromARGB(0xff, 0xff, 0xff, 0xff)
) will no longer show the wrong color in the gutter."dart.showIgnoreQuickFixes": false
to disable these).dart.previewNewCompletionPlaceholders
setting has been folded into the dart.insertArgumentPlaceholders
setting.PUB_HOSTED_URL
environment variable is now used when checking for new versions of DevTools/webdev/Stagehand (this prevents update checks failing for some users - for example in China).launch.json
when clicking the Restart button.ws
and wss
protocols."program": "test/"
in launch.json
for Flutter apps will now automatically run without debugging (debugging while running all tests is not supported for Flutter).dart.progress
events for standard debug-adapter-protocol progress events improving interopability for other editors using Dart-Code’s debug adapter.Some issues have been fixed in the LSP server in the Dart SDK. These fixes only apply when using the preview LSP support ("dart.previewLsp": true
in your VS Code user settings) and when using a new enough version of the Dart/Flutter SDKs (which may not yet include stable channels).
import
that has an alias will no longer show multiple locations (one being the alias) and instead jump straight to the file.var
/final
keyword will no longer show multiple locations (one being the variable name) and instead jump straight to the definition for the type of the varxiable.