-
Notifications
You must be signed in to change notification settings - Fork 326
Flutter Inspector is gone after 59.0.4 #5694
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
It seems this must be related to I've tried to find a way to configure my project as a Flutter project by adding a Flutter facet but it's not available as an option. It seems the plugin enables the Flutter windows when it determines the module is a Flutter module. This is determined by this method:
This particular project is a multi module project, with this structure:
I guess since the root_folder is not a dart/flutter module it's not detecting this project as a Flutter project. @helin24 do you have any ideas of how to solve this or does the new tool window logic need to be reverted? |
I was able to work around this by going to I think this should work out of the box though. |
@josh-burton that's what I was about to suggest, but I agree it would be better if we checked for these projects initially. @shinayser are you also in a situation where your flutter project is below the top-level project that you have open? |
Yes, I am using monorepo architecture. |
Just tested this one without success. |
The Flutter plugin requires a |
The plug-in was working "ok" until this morning, when I updated to 59.0.4 |
Kapture.2021-08-03.at.10.10.19.mp4Facing the same issue, some projects are unable to activate the inspector window after upgraded the plugin from 58.0.4 to 59.0.4. Also no logs for IDEA were produced in the console. |
Seems like this change should be reverted until others areas of the plugin are ready for a mono repo structure. |
That statement puzzles me. If you opened a project which contains a Flutter project, none of the Flutter-specific functionality should be available. Had you done something to configure it to sort-of work? I'm sure that not everything worked, but maybe enough was available to look like it worked. |
I mean, the side "Flutter inspectors" bars were working fine. They were all appearing and workign as properly. |
Well, it seems you were able to use some parts of the Flutter plugin, but a number of UI features were already missing for you. Let me rephrase my original comment. We currently only support Flutter projects that are opened as top-level projects. I tend to agree, though, that this sort of complex project ought to be supported. I think we may need to change some plans to adapt. @devoncarew for consideration. |
This comment has been minimized.
This comment has been minimized.
I was able to work around this by adding this to the top-level project directory: # https://github.com/flutter/flutter-intellij/issues/5694
name: dummy
publish_to: 'none'
dependencies:
flutter:
sdk: flutter |
#5388 |
Just upgraded to 59.0.4 and my flutter inspector is gone from the lateral tab.
Where do I find it now?
I am using Intellij Community 2021.2
The text was updated successfully, but these errors were encountered: