Skip to main content

New site for Dart news and articles

For the latest Dart news, visit our new blog at  https://medium.com/dartlang .

Dart plugin for IntelliJ IDEA and WebStorm

The Dart plugin for IntelliJ IDEA-based IDEs, has a new release with important enhancements. Notably, the plugin is now compatible with all versions of IntelliJ IDEA, including IDEA 13.1 Community Edition—the free open-source version of IntelliJ IDEA. This means you can get a version of the IntelliJ IDE with Dart auto-completion, code validation, package management, quick fixes, navigation, and full-featured command-line app debugging for free!

Pub Integration

The Dart plugin features rich pub integration. The pub tool commands get, upgrade, and build are available by context-clicking the pubspec.yaml file.


Configuring the SDK

When creating a new Dart project with the project wizard or starting a Dart project in the IDE for the first time, you’re asked to set up the path to Dart SDK. If the SDK was downloaded together with Dart Editor, the path to Dartium is added automatically. You can configure command-line options and a custom user data directory for Dartium.


With the path to Dartium set, a single click opens your Dart web app.


Debugging in Dartium

Debugging Dart web apps in WebStorm and IntelliJ IDEA Ultimate is the same. Select “Debug file” or “Create new debug configuration” and the IDE automatically connects to Dartium and starts a debug session. When prompted to install the JetBrains IDE support plugin for the browser, say yes and you’re good to go.




Find more about IntelliJ IDEA’’s Dart support by reading the JetBrains docs.

Stay tuned for a new build of the plugin that includes the latest dart analyzer (1.3.0), improved support for custom package roots, and miscellaneous fixes. We’re making good progress, and you can see our recent fixes. Also note that the plugin itself is open source and we greatly appreciate your feedback, in either the issue tracker or the IntelliJ IDEA development forum. Thanks!

Authored by Ekaterina Prigara (JetBrains) and Phil Quitslund (Google)