For instructions on installing the Dart or Flutter extensions, go here.
v3.98.1 2024-10-08
- #5302: When using VS Code 1.94, ANSI color codes once again show colors in the Debug Console instead of printing escape sequences.
v3.98.0 2024-09-30
Editor
- #3628/#5263: @FMorschel contributed new settings for customizing the prefix (
dart.closingLabelsPrefix
) and font style (dart.closingLabelsTextStyle
) of Closing Labels. - #5265: Closing labels now show and update for all visible editors, not only the active editor.
- #5253: The
codeLens.path
field for launch configurations now supports wildcards, allowing more control over which files custom CodeLenses appear in. - #5270: The diagnostic for the
file_names
lint now includes additional information about resolving the issue after renaming a file by only case.
Dependencies Tree
Various improvements have been made to the Dependencies Tree.
- #5281: The Dependencies tree no longer sometimes fails to group dependencies by Direct, Dev, transitive when in a non-Flutter workspace but a Flutter SDK is available.
- #5288: The Dependencies tree no longer triggers
pub deps
(which can create a.dart_tool
folder) for workspaces where Pub has been disabled. - #5287: Nested packages in the Dependencies tree are now shown with (and sorted by) their relative paths from their workspace folders to make finding nodes in large workspaces easier.
- #5286: Analysis and project exclusions from
analysis_options.yaml
likefoo/**
no longer incorrectly exclude the folderfoo/
. - #5260: The dependencies tree now properly supports Pub Workspaces.
Misc
- #5283: The “Build errors exist in your project” dialog has been updated to no longer refer to errors as “Build errors” and uses “Run Anyway” instead of “Debug Anyway” because it can also apply to running without debugging.
- #5272: When a background process like the analyzer or Flutter daemon terminates unexpectedly, the “Open Log” button on the prompt will now open the specific log for that process (if enabled) instead of a generic log of all events from all processes.
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.
- #5271: The URI for the Dart Tooling Daemon provided to DevTools is now correctly exposed/tunnelled for remote workspaces and passed to the DevTools server. This fixes some (but not all) issues with using the Sidebar and/or DevTools in web based IDEs.
- #5247: Annotations on super parameters (
@annotation super.x
) are now correctly coloured, just like field formals are (@annotation this.x
). - #5289: When using the latest Flutter
master
branch, color previews (and the ability to use the color picker) are no longer missing. - #5284: Dartdoc
@template
macros declared on members of extensions and extension types are now supported. - #5268: Output from Flutter’s
stderror
is now correctly decoded when captured using Dart: Capture Debugging Logs command. - #5254: Extension members are no longer duplicated in code completion for all imported libraries in which they are available.
- #5242: Prefixed identifiers are no longer hidden from code completion just because the same name is in-scope without a prefix.
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!