flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

[Embedding DevTools] Support switch between multiple running devices in the Inspector

Open AlexV525 opened this issue 3 years ago • 3 comments

I have multiple devices that are running the Flutter app.

image image

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

image

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

AlexV525 avatar May 23 '22 07:05 AlexV525

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.

stevemessick avatar May 23 '22 16:05 stevemessick

The screen shot looks like you're using the embedded DevTools.

Yes. Title updated.

AlexV525 avatar May 23 '22 16:05 AlexV525

That header is in IntelliJ, not in DevTools. I like the idea of making this a list or into tabs.

helin24 avatar May 23 '22 17:05 helin24

Regarding the "Stop Process" list, it can also add the device name to identify.

AlexV525 avatar Mar 21 '23 07:03 AlexV525

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.

helin24 avatar Mar 21 '23 17:03 helin24

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.

AlexV525 avatar May 28 '23 15:05 AlexV525

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.

AlexV525 avatar May 30 '23 23:05 AlexV525