Flutter IntelliJ Plugin M61 Release

136 views
Skip to first unread message

Steve Messick

unread,
Oct 4, 2021, 12:37:33 PM10/4/21
to flutter-...@googlegroups.com

Flutter IntelliJ Plugin M61 Release

This release cycle was primarily focused on product excellence. Many issues have been closed.

Supported Platforms

Android Studio

  • 4.2

  • Arctic Fox | 2020.3.1

  • Bumblebee | 2021.1 -- available but not officially supported


IntelliJ

  • 2020.2, 2020.3

  • 2021.1, 2021.2

Test Improvements

When running a single test from the editor, only that one test will be run.

Clicking the green arrow to start the test now does exact name matching, instead of running all tests that have the same prefix.


Unit tests are no longer required to be in a directory named “test”. Files will be recognized as tests if they are marked as Test Sources Root. You can do that from the Project Structure dialog, or from the context menu in the Project view:


If you would prefer to keep your tests in the same directory as the source being tested, you can enable this option in the Flutter settings/preferences:

The directory needs to be marked as Sources Root; “lib” already is.

Notable Improvements

  • The new skeleton project template is available in the new project wizard.

  • Automatically run flutter pub get after changing the Flutter SDK in preferences.

  • If the IntelliJ option to autosave files when the IDE is idle is enabled, and the Flutter option to do hot reload on save is on, then hot reload will be triggered by autosave.

  • Stack traces will be collapsed if the option to show structured errors is enabled, unless the option to show all errors is also enabled.

Known Issues

  • Previews for icons that ship with the plugin (Material, Cupertino) are incorrect.

  • IntelliJ 2021.3 EAP is not yet supported.

Reply all
Reply to author
Forward
0 new messages