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

v2.21.1 2018-12-05

A regression introduced in v2.21.0 that resulted in a Path must be a string error when launching a debug session with no open files (and no output pane) visible has been fixed.

v2.21.0 2018-11-28

Preview: Prompt to Launch with Errors

A new setting dart.previewPromptToRunIfErrors has been added that will prompt you before launching if errors exist in your project.

This will become the default behaviour in future so please try it out and open issues if it fires when you would not expect.

Improved Completion Icons for Folders/Files

Code completion for imports now shows file and folder icons from your VS Code theme.

Run All Tests in Launch Config

It’s now possible to create a launch config in launch.json that runs all tests (the same functionality as the Dart: Run All Tests command) by setting the program property to the path of a test folder. Unlike the command, this can be run with or without debugging ( F5 / Ctrl + F5 ) whereas the command always runs without the debugger.

{ " name " : " All Tests " , " type " : " dart " , " request " : " launch " , " program " : " tests/ " , // or tests/foo for a subset of tests }

Other Changes