IntelliJ IDEA 14.1.1 Help

Dart Support

IntelliJ IDEA supports developing, running, and debugging Dart code. IntelliJ IDEA recognizes *.dart files, and allows you to edit them providing full range of coding assistance. Dart files are marked with the icon_dart.png icon.

Dart is intended for developing both client-side and server-side applications. IntelliJ IDEA supports both workflows.

  • For running and debugging the server-side code, IntelliJ IDEA provides a dedicated run/debug configuration of the type Dart Command Line Application.
  • To run and debug the client-side code in a browser, you either need to use the Dartium browser or have the Dart code translated into JavaScript.

    Most browsers that work with JavaScript code do not natively process Dart code. The only exception is Dartium. This dart-oriented version of Chromium contains a built-in Dart VM and therefore can run Dart code directly. For details, see

    To be executed in any other browser, Dart code has to be translated into JavaScript. This operation is referred to as transpilation and the tools that perform it are called transpilers.

    IntelliJ IDEA supports integration with the dart2js tool which is a part of the Dart SDK. The dart2js transpiler translates Dart code into JavaScript.

When the Dart development support is enabled, see Preparing for Dart Development, IntelliJ IDEA provides full coding assistance, which involves:

In this section:

See Also

Language and Framework-Specific Guidelines:

External Links:

Web Resources:

Last modified: 6 April 2015