The Dart plugin adds Dart support to JetBrains IDEs such as WebStorm and IntelliJ IDEA. WebStorm is an IDE for client-side development. IntelliJ IDEA is an intelligent Java IDE with support for many other languages and frameworks.
Whichever JetBrains IDE you choose for Dart development, this page has resources to help you get started quickly and find more information when you need it.
The Dart plugin is built into WebStorm, but not into IntelliJ IDEA. Once your IDE has the Dart plugin, you just need to tell it where to find the Dart SDK and (optionally) Dartium.
Before starting, download a JetBrains IDE if you don’t already have one:
If you don’t already have the Dart SDK, you need to download it. If you’re using Dart to develop web apps, we recommend downloading Dartium, as well.
Here’s one way to configure Dart support:
IntelliJ IDEA only: Start IntelliJ IDEA, and install the Dart plugin. To find the Dart plugin, from the Welcome screen choose Configure > Plugins, then click Install JetBrains plugin, and then search or scroll down until you find Dart. Once you've installed the Dart plugin, restart IntelliJ IDEA.
Create a new Dart project:
If you don't see values for the Dart SDK path and (optional) Dartium path, enter them.
For example, the SDK path might be
<dart installation directory>/dart/dart-sdk,
and the Dartium path might be
<dartium installation directory>/Chromium.
An alternative to Step 2 is to open an existing Dart project,
and then open its
pubspec.yaml file or any of its Dart files.
To run a web app in Dartium, right-click the main HTML file
and choose Run ‘index.html’.
To run a web app in another browser (or in Dartium),
right-click the main HTML file
and choose Open in browser.
Then choose the browser you want to run the app.
A browser window opens and,
displays the app.
Please report issues and feedback via the official JetBrains issue tracker for Dart. Include details of the expected behavior, the actual behavior, and screenshots if appropriate.
Your questions are welcome in the IntelliJ IDEA forum.
See the JetBrains website for more information.