IntelliJ IDEA 14.0.0 Web Help

Some features described here are available in the Ultimate edition only.

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:

  • Code completion for keywords, labels, variables, parameters and functions.
  • Error and syntax highlighting.
  • Code formatting and folding.
  • Numerous code inspections and quick-fixes.
  • Refactoring:
    • Common refactoring procedures, such as extract method , inline, rename/move, etc.
    • Dart-specific refactoring procedures, such as change signature, extract parameter, extract variable. These types of refactoring are identical with JavaScript, for more details, see the section JavaScript-Specific Refactorings
  • Code generation:
    • Generating code stubs based on file templates during file creation.
    • Ability to create line and block comments ( or or or or or , or or or or or or / or or or or or or , or or , , , , or , , or ).
  • Navigation and search through the source code:
    • Navigating with Structure View.
    • Navigate | Declaration (, or , or , or , or , , or , or , , , or , or or , or , or or ).
    • Navigate | Implementation ( or or or or or or or or or or or or ) from overridden method / subclassed class.

In this section:

See Also

Language and Framework-Specific Guidelines:


External Links:

Web Resources: