Hey all,
v2.26.0 is now available. Release notes below (and online here).
#1060: Code completion now lists symbols that are not yet imported and will auto-import the required library when selected.
Items will show “Auto import from xyz” in their details when this will occur.
The import will be added once the selected item is committed. This also works for part files, where the import will be added to the relevant parent file.
This behaviour can be disabled with the dart.autoImportCompletions
setting.
The dependencies tree has been updated and improved. It’s now (#1591) be available for workspaces that have multiple projects (either in sub-folders, or as part of a multi-root workspace), (#1622) sorts folders above files and (#1621) no longer shows projects in their own dependencies list.
Flutter: Toggle Check Elevations
has been added to toggle highlighting invalid elevations.dart.showIgnoreQuickFixes
) will now appear at the bottom of the Code Actions list.@macro
declarations in tooltips will now be resolved to the correct values (when using a recent enough version of the SDK).pub get
will now run for pubspec.yaml
changes made even outside of VS Code. For example, if you switch Git branch and the pubspec is modified, packages will be fetched automatically.dart.devToolsTheme
setting.pub get
will automatically run immediately after creating stagehand projects.dart.flutterHotRestartOnSave
) that will enable running Hot Restart on save when running a Flutter project without Hot Reload support.0
or ""
).--
You received this message because you are subscribed to the Google Groups "Flutter Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I went as far as uninstalling the DART extension and installed it again, and I do see the referenced user setting to disable auto-import; mine is enabled but I don't see any auto import also Flutter: Toggle Elevations is missing
Actually as I am looking through the DART commands I should have available to me in VS Code I am missing others as well. For instance Dart: Organize imports.If I do Dart: Change SDK the location is c:\src\flutter\bin\cache\dart-sdk and the version file has the following in it.2.2.0-edge.0a7dcf17eb5f2450480527d6ad1e201fb47f1e36