This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Jun 26, 2013 2:27 PM by Elena Pogorelova  
Bernd Wessels Newbie 2 posts since
Jun 24, 2013
Currently Being Moderated

Jun 24, 2013 2:43 AM

How to run in WebStorm ?



I can't figure out how to run the (or any other dart) file in WebStorm.


The only option to run dart files seems to be DartUnit, but I think that is only for running tests.


I need to run the build.dart to create the WebUI Template output files.


It would also be great if it would be able automatically run this whenever a file changes (like the Dart Editor does).


Please help




Elena Pogorelova Expert 1,860 posts since
Oct 5, 2011
Currently Being Moderated
Jun 26, 2013 2:27 PM in response to: Bernd Wessels
Re: How to run in WebStorm ?

Hello Bernd!


WebStorm 6.* doesn't support running Dart command line applications -  only web; so the cmd applications can only be run as a dart unit test. But you need to include  unittest dependency in your pubspec.yaml and install the corresponding  packages (using 'install packages' in pubspec.yaml right-click menu; you  should have all needed packages right in the project directory ) to be  able to run them.

Note that the upcoming WebStorm 7 will provide support for Dart cmd applications. You can download the recent EAP from

Best regards,

More Like This

  • Retrieving data ...