Dart Code
Dart & Flutter support for Visual Studio Code Discord Chat Follow on Twitter Contribute to Dart Code

For instructions on installing the Dart or Flutter extensions, go here.

v3.90.0 2024-05-29

Fix All in Workspace Commands

#5022: When using Flutter 3.22 / Dart 3.4, new commands Dart: Apply Fix All in Workspace and Dart: Preview Fix All in Workspace are available.

The Apply version of the command will fix all auto-fixable issues across the whole workspace, similar to running dart fix. The Preview version of the command will open VS Code’s refactor preview allowing you to choose which fixes to apply. You can use the context menu to group these changes by the issue that they are fixing (add 👍 to this VS Code issue if you’d like to see this enabled by default and to this VS Code issue for having the changes ticked by default).

Automatically Close DevTools on Debug End

#5029: A new setting Dart: Close DevTools (dart.closeDevTools) has been added to allow automatic closing of embedded DevTools windows like the Widget Inspector when a debug session ends. The ifOpened option will close only embedded windows that were opened automatically as a result of the Dart: Open DevTools (dart.openDevTools) setting.

DevTools

Misc

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.

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/