dartatom-editordartium

How to configure Atom to run Dart in Dartium?


How to set up the launch of web applications written in Dart, as it does WebStorm in Atom?

Webstorm

Atom

In the Atom, he tries to run itself Dart script rather than index.html


Solution

  • Launch configurations stored in folder .atom/launches.

    Eg. console (cli) configuration:

    type: cli
    path: test\test.dart
    
    cli:
      args:
      cwd:
      checked: true
      debug: true
    

    Launch of the web scripts (type: web) is not implemented yet.

    dartlang/lib/launch/launch_web.dart
    lib/plugin.dart