flutter / flutter/flutter-intellij

Build runner buttons in top bar

Open
#3,137 8 comments 3 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2k
Forks
356
Avg merge
1d 11h
Merged PRs (30d)
27

Description

In most flutter project, you need to have code generation, for example JSON parsing, dependency injection, networks call and more... all those basic stuff take advantage of code generation with the command `flutter packages pub run build_runner watch --delete-conflicting-outputs` would be nice to have a button to launch this command and see the status of it. Even two buttons one for `build` and another for `watch`.

Here is where I imagine those buttons:
capture d ecran 2019-01-29 a 14 05 42

Build action: 2 state, idle and running, if an error occurred the `Event Log` panel can be use to show the error
Watch action: 3 state, idle, watching and running, if an error occurred the `Event Log` panel can be use to show the error

I always forget to launch this command manually and something it crash and stop itself and I don't see it. By having it on the top bar I can quickly see the status and launch/relaunch it

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.