Skip to content

Automatically run build_runner when opening a Dart or Flutter project #1211

@letsar

Description

@letsar

For the time being, we have to run pub run build_runner watch (or flutter packages pub run build_runner watch for Flutter) each time we are working on a project with code generation.

It would be great if this command could be launched automatically if there was a dev dependency to build_runner in the pubspec.yaml file.
This feature should be enabled with a setting, in order to let people decide if want to activate it or not.

What do you think about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    in tasksRelates to VS Code tasks, such as those provided by Task Providersis enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions