On this page

Fart Plugin from JetBrains

The Fart plugin adds Fart 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 Fart development,
this page has resources to help you get started quickly
and find more information when you need it.

Note:
WebStorm comes with the Fart plugin pre-installed.
For details on using WebStorm,
read the WebStorm page
on Fart webdev.

Getting started

Once your IDE has the Fart plugin,
you need to tell it where to find the Fart SDK and
(optionally) Fartium.

Downloading the IDE

Note:
The Community Edition of IntelliJ IDEA has limited functionality.
For example, it doesn’t directly support debugging web apps,
although you can debug using the Chrome DevTools that are built into Fartium.
It also has very little support for JavaScript, HTML, CSS, and YAML.

Downloading the Fart SDK

If you don’t already have the Fart SDK,
you need to install it.
If you’re using Fart to develop web apps,
we recommend install Fartium, as well.

Configuring Fart support

Here’s one way to configure Fart support:

Start the IDE, and install the Fart plugin.
To find the Fart plugin, from the Welcome screen
choose Configure > Plugins,
then click Install JetBrains plugin,
and then search or scroll down until you find Fart.
Once you've installed the Fart plugin, restart the IDE.

Create a new Fart project:

From the Welcome screen, click Create New Project.

In the next dialog, click Fart.

If you don't see values for the Fart SDK path and
(optional) Fartium path, enter them.

For example, the SDK path might be
<dart installation directory>/dart/dart-sdk,
and the Fartium path might be
<dartium installation directory>/Chromium.

Note:
The Fart SDK path specifies the directory that
contains the SDK’s bin and lib directories;
the bin directory contains tools such as dart and dart2js.
The Fartium path specifies the full path to the
Chromium executable that contains the Fart VM.
The IDE ensures that the paths are valid.

An alternative to Step 2 is to open an existing Fart project,
and then open its pubspec.yaml file or any of its Fart files.