Skip to content

Add a version of the Flutter: Inspect Widget command that auto-cancels on selection #4093

@maks

Description

@maks

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions