For instructions on installing the Dart or Flutter extensions, go here.
v3.124.0 2025-12-01
Flutter Widget Preview
- #2620: The Flutter Widget Preview is enabled by default when using the recently-released Flutter v3.38.
- #5775: The Flutter Widget Preview now works for all projects within a Pub Workspace instead of only the first.
- #5783: The Widget Preview now shows the correct background color when embedded in the sidebar.
Flutter
- #5796: If the Flutter daemon times out unexpectedly on macOS, a notification will now be shown.
- #5782: Switching SDKs no longer reports “View provider for ‘sidebarWidgetPreview’ already registered”.
Editor
- #5599: Go-to-Definition now works on keywords like
return,break, andcontinue, jumping to the corresponding token. - #4844: All exit points of a function/block such as
return,break, andcontinueare highlighted together when the text cursor is in one of them. - #5810: The color picker/previews now appear when using the new dot shorthand syntax.
- #5772: Raw strings (starting
r'orr") are now automatically closed just like normal strings. - #5754: The “Add ‘foo’ to dependencies” quick-fix is now available even if the package name is a prefix of another existing dependency.
- #5776: The
flutter/ephemeral,.symlinksand.plugin_symlinksfolders are now excluded from the explorer and search results by default. The.dart_toolfolder is also now excluded from search results by default. If you’d prefer these were included, you can add them back by adding them tofiles.excludeandsearch.excludeconfiguration with a value offalse. - #5755: A one-off warning is now shown if the
dart.onlyAnalyzeProjectsWithOpenFilessetting is enabled. Use of this setting is not recommended as it can cause bad performance when moving around the codebase.
AI
- #5785/#5795: When using Copilot, the Format tool and the Fix All tool from the Dart MCP server (which read and modify files on disk) are now replaced with extension-provided versions that work nicely with unsaved edits.
- #5647: When using Copilot, the
analyze_filestool from the Dart MCP server is now disabled in favour of the VS Codeproblemstool which provides live analysis errors from the open files and does not trigger re-analyzing files on disk.
DevTools
- #3488: When using Flutter v3.38 / Dart 3.10, using Cmd+C on macOS to copy from embedded DevTools pages should now work as expected.
Testing
- #5799/#5575: Code coverage is now enabled for Dart projects if using the latest version of
pkg:test, however it currently only captures coverage for the current package. #5798 is open to track adding support for all workspace packages (this is already supported for Flutter). - #5797: Code coverage reports that contain absolute Windows paths now parse correctly.
- #5707/#5811: Running tests defined in a non-
mainfunction no longer report “No tests match regular expression …”.
Commands
- #5801/#5789: Commands like Get Packages now show the package name in the output instead of just the folder name (which is usually - but not always - the same).
- #5777: When running Pub Get on a batch of packages, the notification now shows a progress indicator and the number of done/total packages.
- #5803: The Dart: Open Analyzer Diagnostics / Insights command now show a progress indicator if it does not respond immediately (for example while the server is busy starting up).
Extension API
- #5770/#5703: Other VS Code extensions can now suppress debug CodeLenses via the exposed API. This allows projects like Jaspr to replace these with their own CodeLenses that invoke their own debugger.
- #5587: Internal extension APIs intended for use only in automated test runs are no longer exposed outside of test runs.
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.
- #5773: The Dart: Apply Fix All in Workspace command now shows a progress indicator while it computes.
- #5818: Breadcrumbs and other UI now show
extension on Fooinstead of just<unnamed extension>for unnamed extensions. - #5781: Quick-fixes provided by the Dart analysis server for
pubspec.yamlandanalysis_options.yamlare now available to VS Code. - #5779: The
dart.inlayHintsconfiguration now has an additional setting to control inlay hints for dot shorthands. - #5778: Copying large variable values from the Globals list when debugging now copies the whole untruncated value.
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!