-
Notifications
You must be signed in to change notification settings - Fork 327
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
Android Studio Flutter Inspector toggle select widget mode on is not redirecting me to where the actual source code is located to edit the code!! #5689
Comments
This is the intended behavior in Android Studio, and if it is not working that is a bug. @helin24 @stevemessick are either of you getting reports that this jump-to-source behavior is broken? |
No, I don't recall any reports about this. I just tried it, using the embedded inspector, and it works fine. @AradhyaNepal are you clicking in the Widget Tree or the Widget Details Tree? It works in the Widget Tree. I'm not sure if it is supposed to work in the Widget Details Tree. |
After reading your response, I learned that the name of this feature is jump-to-source, so I started searching it, and by using correct keyword in google, I found this stackoverflow: https://stackoverflow.com/a/69708231 In my entire 1.5 years of flutter journey, I had used space on the folder where the project is stored: Office Project Except me, all of my college friend and office colleagues uses visual studio code, so for 1.5 years I thought this feature is only available in visual studio code. After removing the blank space this feature worked. But I think this space making jump to source not work in android studio problem must be solved. Thanks!! |
Tracking this issue as flutter/flutter-intellij#6722. Closing this one. |
When a developer selects a widget from Flutter Inspector with toggle select widget mode on, in device it shows which portion of UI is selected. But developer also needs to know where the code is actually located, so that they can start editing the code as per their need. Which improves the debugging experience of developer rather than searching the code throwout the messy codebase, without it, its really hard for me as a developer to select a widget and not able to know where the code is located.
Note: I am using Android Studio, this feature to tap a widget in Flutter inspector and open the source code to start editing is available in visual studio.
Also if the feature is already available, appolozies, but I didn't found well documentation from internet about how to do in android studio.
Thank You.
DevTools version: 2.20.1
Connected Device:
CPU / OS: arm64 (64 bit) android
Dart Version: 2.19.1
Flutter Version: 3.7.1 / stable
Framework / Engine: 7048ed95a5 / 800594f1f4
Connected app type: Flutter native (debug build)
The text was updated successfully, but these errors were encountered: