PhpStorm 2016.2 Help

Dart

The dialog box opens when you click the Dart Settings button icon_dart.png on the toolbar. Use the dialog box to configure the Dart SDK and the Dartium browser. The SDK is not bundled with PhpStorm and has to be downloaded manually. For information on the available versions of Dart SDK and for installation instructions, please refer to http://www.dartlang.org/downloads.html.

ItemDescription
Enable Dart support in project <project name>
  • When this check box is selected, PhpStorm provides assistance in coding, testing, running, and debugging Dart applications and enables you to configure the Dart SDK and the Dartium browser.
  • When the check box is cleared, no assistance in developing Dart applications is provided and all the controls on the page are disabled.
Dart SDK Path In this text box, specify the location of the downloaded Dart SDK. Type the path manually or click the Browse button browseButton.png and choose the path in the dialog box that opens.

If PhpStorm recognizes the Dart SDK correctly, it displays the revision number of the detected SDK in the Version read-only field.

Version In this read-only field, PhpStorm shows the revision number of the detected Dart SDK, provided that the SDK is recognized correctly.
Check SDK update When this check box is selected, PhpStorm checks whether the specified above version of SDK is the latest one. If a newer version of SDK is available, PhpStorm displays a pane at the top of the active editor informing you that a newer SDK version has been released. Do one of the following:
  • Click the Download SDK link and download it from the site.
  • If you have already downloaded the latest SDK version, click the Dart Settings link to switch to the Dart page of the Settings dialog box and specify the new SDK location.

From the drop-down list, choose the release types of SDK to look in, the available options are:

  • Stable channel
  • Stable and Dev channels

Dartium Path In this text box, specify the location of the Dartium executable file. In the Dartium browser, you can run Dart code without previously transpiling it into JavaScript. Type the path manually or click the Browse button browseButton.png and choose the path in the dialog box that opens. If the SDK was downloaded within the Dart Editor Bundle, the path to Dartium is also detected and filled in automatically. Learn more about Dart development tools at the Dart Download Page.
Start Dartium in checked mode
Custom package roots

See Also

Language and Framework-Specific Guidelines:

Last modified: 24 November 2016