Installing and Using WebStorm
WebStorm is an IDE from JetBrains for client-side development. It comes with the Dart plugin pre-installed.
To get started with WebStorm, install it and then tell it where to find the Dart SDK and Dartium.
- Install WebStorm or, to try out the latest Dart language features, Install WebStorm EAP
- Install the Dart SDK
- Install Dartium
Configuring Dart support
Here’s one way to configure Dart support in WebStorm:
Create a new Dart project:
- From the Welcome screen, click Create New Project.
- In the next dialog, click Dart.
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 1
is to open an existing Dart project,
and then open its
pubspec.yaml file or any of its Dart files.
Running a web app
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 Dart plugin for WebStorm/IntelliJ editors mailing list.
See the JetBrains website for more information.