flutter-intellij
flutter-intellij copied to clipboard
[Embedding DevTools] Support switch between multiple running devices in the Inspector
I have multiple devices that are running the Flutter app.

But the inspector only shows one tab with the last running device.

Version info
[√] Flutter (Channel stable, 3.0.1, on Microsoft Windows [版本 10.0.22000.675], locale zh-CN)
• Flutter version 3.0.1 at X:\SDK\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision fb57da5f94 (3 days ago), 2022-05-19 15:50:29 -0700
• Engine revision caaafc5604
• Dart version 2.17.1
• DevTools version 2.12.2
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[√] IntelliJ IDEA Ultimate Edition (version 2022.1)
• IntelliJ at X:\IDEs\apps\IDEA-U\ch-0\221.5080.210
• Flutter plugin version 67.1.4
• Dart plugin version 221.5588
[√] Connected device (5 available)
• ONEPLUS A3000 (mobile) • 78c66f41 • android-arm64 • Android 8.0.0 (API 26)
• ONEPLUS A6010 (mobile) • f8e67ce3 • android-arm64 • Android 11 (API 30)
• Windows (desktop) • windows • windows-x64 • Microsoft Windows [版本 10.0.22000.675]
• Chrome (web) • chrome • web-javascript • Google Chrome 100.0.4896.88
• Edge (web) • edge • web-javascript • Microsoft Edge 101.0.1210.47
The screen shot looks like you're using the embedded DevTools.
@kenzieschmoll @helin24 Which app controls the header, where it shows "ONEPLUS A3000"? Is that part of DevTools or the Flutter plugin? I'm thinking that needs to become a drop-down list. But if it is part of the plugin UI, maybe DevTools would want to provide something to select a device on its own.
The screen shot looks like you're using the embedded DevTools.
Yes. Title updated.
That header is in IntelliJ, not in DevTools. I like the idea of making this a list or into tabs.
Regarding the "Stop Process" list, it can also add the device name to identify.
Hi @AlexV525 we're not planning to implement this feature, but we're open to a contribution if you'd like to work on this.
Hi @AlexV525 we're not planning to implement this feature, but we're open to a contribution if you'd like to work on this.
Yeah I'm aware of that, I'll try my best to see if I can manage to work it out.
Regarding the "Stop Process" list, it can also add the device name to identify.
I'm planning for implementing this too and will take another look today.