Commands
- #6034/#6038: Pub commands like Pub: Get Packages that operate once on all packages in a whole Pub Workspace will no longer ask you to pick an individual package (but instead let you pick the Pub Workspace) if executed without the context of a package.
- #6028/#6032: The Dart: Add Dependency command now handles mixed SDK and Pub packages correctly when added all at once.
- #6029/#5952: The Dart: Add Dependency command no longer shows package search results immediately after typing a separator (without typing any prefix) which was causing pressing
<enter> to unexpectedly add the first listed package. - #6027/#5998: The Dart: Add Dependency command now supports
dev: prefixes when typing package names, the same way the dart pub add CLI command does. - #5988/#6020: The output channels used for
dart create and flutter create output when using the Dart: New Project and Flutter: New Project commands are now the same channels as other commands run in those packages once they have been created.
Features/Fixes Enabled with Future SDKs
The following items depend on changes to the Dart/Flutter SDKs that have not yet been released to stable channels. They may be available to test in the current beta/master channels and will show up in future SDK releases.
- #6026: WebSocket connections between the
flutter tool now have pingInterval enabled which should prevent dropped connections with some antivirus products like Norton which proxy all connections and drop them after a period of being idle. - #5939: The analysis server no longer infinitely reports “Analyzing…” if logging is enabled into an analyzed folder.
- #6003: Type aliases no longer cause duplicate completion entries for the target classes constructors in code completion. Instead, the constructors are added against the type alias.
- #6001: Missing Dart SDK sources have been added to the Flutter SDK to prevent errors when navigating to them from the call stack while debugging.
Dart-Code Testing
- #6035: Dart-Code’s E2E tests have been updated to handle VS Code’s new welcome screen.
- Dart-Code’s test coverage has been improved in many areas:
- #6040: SDK switching
- #6039: Dart Add Dependency command
- #6031: Flutter: Save Screenshot, Upgrade, New Project commands
- #6030: Hot reload (w/ save), Rerun Last Debug Session, Rerun Last Test Session, promptForVmService, Create Launch Configuration, and debug settings prompts.
- #6041: Flutter: New Project settings editor
Upstream Issues
Some feature requests and fixes require new features and fixes in upstream projects like VS Code and LSP which use counts of 👍s on those issues to help gauge demand. The Dart-Code website now lists some of the most significant upstream issues with a description of the feature/fix they would enable. Please consider reviewing this list and adding your 👍 to any GitHub issues relevant to features you’d like to see!
https://dartcode.org/upstream-issues/