I often want to click on a UI element and see the line of widget code where its defined.
Currently this is eminently doable but involves the following steps:
- click "open devtools" button in debug bar
- in Devtools click on "select widget mode" button
- click on the widget I'm interested in the Flutter running app
- switch back to VSCode window (I run Devtools not in embedded mode)
- Remember to go back to Devtools to un-toggle "select widget mode" button
- close devtools tab in web browser
It would be really nice if there was a single VSCode command palette command that I could use to do all of the above in one go, ie. select the cmd in the cmd palette, click on the widget I'm interested in the running app and then VSCode jumps to the relevant code line and exists out of "select widget mode".