Skip to content

Embed more DevTools screens inside IntelliJ / Android Studio #7195

Closed
@kenzieschmoll

Description

@kenzieschmoll

Right now, the only DevTools screen that is embeddable in IntelliJ is the Flutter Inspector. This is very minimal support compared to VS code, which allows every DevTools screen to be embedded, including the Flutter sidebar and static tools like the new Deep Links tool.

Adding an IntelliJ tooling window for every DevTools screen does not seem like the right solution, since this would be crowded and busy. However, having up to 4 or 5 tool windows for Dart and Flutter seems reasonable and could allow us to embed more tooling. To keep the number of tooling windows low, we could group some DevTools screens together in a single tool window where it makes sense (navigable by tab bar or drop down or something). Some ideas for logical groupings:

  • Inspector (already supported)
    • queryParam for DevTools URI: embedMode=one
  • deep links (P1) - Embed the Deep Links tool in a tool window #7298
    • queryParam for DevTools URI: embedMode=one
  • Flutter DevTools (P1)
    • contains all screens that are not broken out into their own tool window
    • queryParam for DevTools URI: embedMode=many&hide=home,inspector,deep-links,extensions
  • DevTools extensions
    • queryParam for DevTools URI: embedMode=many&hide=all-except-extensions
  • Flutter sidebar (P2 since this needs some design)
    • Tracked separately at: Embed the Flutter Sidebar in a tool window #7299
    • queryParam for DevTools URI: embedMode=one
    • Among its other functions like selecting a device or viewing debug sessions, the flutter sidebar will allow users to open any other DevTools screen (this should open the embedded screen in its respective tool window) as well as open DevTools in the browser.

This will need to be gated on a version of Flutter that supports the DevTools changes.

Metadata

Metadata

Assignees

Labels

P1devtools-integrationRelated to the integration with Dart DevTools

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions