Why are the IntelliJ IDEA Flutter tool windows missing in my Melos project?

450 Views Asked by At

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

There are 2 best solutions below

1
On 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.

0
On

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.