flutter / flutter-intellij

Flutter Plugin for IntelliJ
https://flutter.dev/using-ide
BSD 3-Clause "New" or "Revised" License
1.98k stars 319 forks source link

IntelliJ Structure view does not update on Inspector clicks #7766

Open kenzieschmoll opened 2 weeks ago

kenzieschmoll commented 2 weeks ago

When a widget is selected in the flutter inspector, the line of code where that widget was created is highlighted / jumped to in the IDE. When this happens the IntelliJ structure view should update for the new selected file and for the line in focus.

The Flutter outline view handles this properly, but if we are going to remove the flutter outline at some point in favor of the Structure view, we should ensure the proper item in the Structure view is selected too.