Skip to content

errors remain after running flutter generate #1970

@szotp

Description

@szotp

I'm not sure if this is a problem with DartCode or some kind of analysis daemon.

  1. I have a package that utilizes custom Builder, like r_flutter.
  2. New person joins the team, and downloads git.
  3. When they launch the project in VSCode, the code was not generated yet, so there are errors.
  4. New person runs flutter generate, the command suceeds, but errors are still there.
  5. New person executes "Reload window" and errors disappear.

Similiar issues may also happen after flutter clean or switching branch.

I think it would be ideal if VSCode could handle this automatically: do not perform analysis until files have been generated.

EDIT: as requested I will divide this into 2 issues. The problem here is that error remain after running flutter generate - user needs to reload window to fix this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions