Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 2.59 KB

README.md

File metadata and controls

44 lines (31 loc) · 2.59 KB

Flutter Plugin for IntelliJ

An IntelliJ plugin for Flutter development. For documentation, see flutter.io.

Build Status

Getting started

See flutter.io/setup for instructions about installing the Flutter SDK, configuring your machine for Flutter development, and installing and configuring the IntelliJ plugins.

Quick-start

A very brief summary of the getting started guide linked from above:

  • install the Flutter SDK (see flutter.io/setup); run flutter doctor from the command line to verify your installation
  • ensure you have a supported IntelliJ development environment (IntelliJ 2016.2+, Ultimate or Community)
  • open the plugin preferences (Preferences>Plugins on macOS, File>Settings>Plugins on Linux, select "Browse repositories…")
  • search for and install the 'Dart' plugin; search for and install the 'Flutter' plugin
  • choose the option to restart IntelliJ
  • configure the Flutter SDK setting (Preferences on macOS, File>Settings on Linux, select Languages & Frameworks>Flutter, and set the path to the root of your flutter repo)

Filing issues

Please use our issue tracker for Flutter IntelliJ issues. For more general Flutter issues, you should prefer to use the Flutter issue tracker. For more Dart IntelliJ releated issues, you can use JetBrains' YouTrack tracker.

Known issues

Please note the following known issues:

  • The 2017.1 release of the Dart plugin has added the ability to have Dart SDKs configured on a per-project basis (previously an SDK had been configured globally). This is great for the Flutter plugin as users can now use separate Dart SDKs for Flutter and Dart for web projects. However, when opening a project in 2017.1 created with older IntelliJs, you may encounter an issue where no Dart SDK is configured for your project. If this is the case, open the Languages & Frameworks > Dart settings page, check the option to enable Dart support, and select a Dart SDK inside the Flutter SDK (<flutter>/bin/cache/dart-sdk).

  • #601: IntelliJ will read the PATH variable just once on startup. Thus, if you change PATH later to include the Flutter SDK path, this will not have an affect in IntelliJ until you restart the IDE.