skip to Main Content

I have a Melos project containing both Flutter and non-Flutter Dart packages.

When running my Flutter app, it’s apparent that the Flutter tool windows (such as Flutter Inspector, Flutter Performance, and Flutter Outline) are missing from both the IntelliJ IDEA window frame and the View > Tool Windows menu item.

What’s going on?

2

Answers


  1. Chosen as BEST ANSWER

    This can happen if you create the first Flutter package and run melos bootstrap while the project is already open in IntelliJ IDEA.

    To enable the tool windows, re-open the project after bootstrapping with Flutter packages.


  2. I may be late to the party but the issue is probably because you chose the same name for app as well as the Melos workspace. In this case Melos will create two entries with the same name in .idea/modules.xml causing it to ignore all but the first one which is not a Flutter module.

    The obvious solution is to rename the melos workspace to something like yourapp_workspace and bootstap again.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search