Description
After updating the Flutter plugin to version 85.0.4 in both Android Studio and IntelliJ IDEA, the Flutter Inspector no longer navigates to the source code in the editor when selecting a widget from the app interface.
Behavior before the update:
- Selecting a widget using "Select Widget Mode" would highlight it in the widget tree ✅
- It would also automatically open the source file in the editor and highlight the relevant code ✅
Behavior after the update:
- Selecting a widget still highlights it in the widget tree ✅
- But it does not open the source code in Android Studio anymore ❌
This appears to be a regression introduced in Flutter plugin version 85.0.4.
Steps to Reproduce
- Update Flutter plugin in Android Studio or IntelliJ to version 85.0.4
- Run a Flutter app in debug mode
- Open Flutter DevTools via the IDE
- Go to Inspector, enable "Select Widget Mode"
- Click on any widget in the running app
- Observe:
- Widget is selected and highlighted in the widget tree ✅
- No source code navigation happens in the IDE ❌
Expected Behavior
Selecting a widget via the Inspector should:
- Highlight it in the widget tree ✅
- Automatically navigate to the corresponding widget code in the source file ✅
Actual Behavior
- Widget is selected in the tree ✅
- But source code navigation no longer works ❌
Environment
- Flutter SDK version: 3.29.2
- Flutter plugin version: 85.0.4
- Android Studio: Narwhal 2025.1.1 Canary 5
- IntelliJ IDEA Ultimate: 2025.1 Release Candidate
- Operating System: Windows 11
- DevTools launch method: From within IDE
- Run mode: Debug mode
Please confirm if this is a known regression in 85.0.4
, and if there's any workaround available. I'm available to help test further or provide logs if needed.