Hot reload on save
By request, we now support doing a hot reload on file save. On an explicit save (cmd-s / ctrl-s or File > Save All), if there’s an app currently running we will try to reload changes into that app. This integrates well with how IntelliJ’s save action works — the default behavior of the action maps to a save-all command.
If there are analysis errors on save, instead of reloading we will highlight errors in the analysis view.
This behavior is off by default and can be turned on in Settings > Languages & Frameworks > Flutter. Feedback on this feature is much appreciated and will help us make additional improvements to the workflow. In particular, should we enable this feature by default?
Improved project wizard
We’ve updated the new project wizard! You can now choose which type of Flutter project to create:
- an app,
- a plugin project – to expose native services, or
- a package – to create a reusable Dart library.
In addition, you can choose between generating a project with Java or Kotlin code, or Objective-C or Swift.
The lion’s share of this work was done by an external contributor — Brandon Donnelson — many thanks!
Additional changes include UI improvements to the Flutter view, fixes to icon decorations in the editor’s ruler, fixes to group handling for widget tests, and better highlighting of analysis errors when launching apps. For more detailed info on the version 17.0 release, see our project plan, or the changelog.