Open kenzieschmoll opened 2 weeks ago
The main difference I see after looking at a few files is having some "wrap with..." buttons here:
I don't see this functionality available elsewhere, but are we okay with not having this any more?
CC @jwren
Yes, this issue was opened when we thought there was no difference in functionality between the Structure view and the Flutter Outline. I suspect that with time functionality like this might come from DevTools and DTD, but for the time being, we should not remove it.
Okay, thanks for clarifying. For future reference, another thing that I found that is part of the flutter outline is this inline editing panel: https://github.com/flutter/flutter-intellij/pull/4160
I don't see this functionality available elsewhere, but are we okay with not having this any more?
These functions are all available as quick fixes, so I don't think the actions at the top should be a blocker to remove.
Also, the outline view doesn't seem to load for me. We should add analytics to this view to see if many users are using it:
Also, the outline view doesn't seem to load for me
Ah, looks like this view is configured to only be enabled when there is a running app, which is a bug. The outline view + Hot UI for that matter should work with now connected app.
We do have data on the usage of the outline, last week numbers below:
I didn't realize we could open the quick fix menu from the editor - knowing that makes me less reluctant to remove the outline view.
I'm able to see the outline view for some classes in DevTools, e.g. lib/src/screens/inspector/inspector_tree_controller.dart
without having an app running, so I'm not sure what's going wrong in your situation. I think at first when I opened a hello flutter app, it wasn't working though, so I believe it's not consistent.
I'm able to see the outline view for some classes in DevTools, e.g. lib/src/screens/inspector/inspector_tree_controller.dart without having an app running, so I'm not sure what's going wrong in your situation. I think at first when I opened a hello flutter app, it wasn't working though, so I believe it's not consistent.
Once I killed the app I was running, I still had access to the Flutter Outline view. So maybe it only works after running an app at least once?
The IntelliJ Structure view provides this functionality so we do not need to maintain our own.