Pub IntegrationThe 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 SDKWhen 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 DartiumDebugging 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)