Description
Whenever I launch IntelliJ, I have to re-select the device I want to run a Flutter app on (the menu that says "<no device selected>
" when you start).
The Flutter plugin should remember which device I selected for the previous IntelliJ session and restore it when restarting the IDE, assuming that the device is still available.
I typically work on desktop applications, so the device I use (usually "Linux (desktop)") is always available, and it would be nice if I wouldn't have to select it each time. I'm constantly trying to run an app again after restarting, and get the dialog about selecting a device, then have to select a device and try again.
Version info
flutter doctor -v
[✓] Flutter (Channel menu_bar_in_progress, 2.11.0-0.0.pre.730, on Debian GNU/Linux rodete 5.15.15-1rodete1-amd64, locale en_US.UTF-8) • Flutter version 2.11.0-0.0.pre.730 at /usr/local/google/home/gspencer/code/flutter • Upstream repository git@github.com:gspencergoog/flutter.git • Framework revision 813c38379b (18 hours ago), 2022-02-28 16:26:12 -0800 • Engine revision 615a60512c • Dart version 2.17.0 (build 2.17.0-150.0.dev) • DevTools version 2.11.1[✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1)
• Android SDK at /usr/local/google/home/gspencer/Android/Sdk
• Platform android-32, build-tools 32.1.0-rc1
• ANDROID_HOME = /usr/local/google/home/gspencer/Android/Sdk
• Java binary at: /usr/local/google/home/gspencer/Android/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
• All Android licenses accepted.[✓] Chrome - develop for the web
• Chrome at google-chrome[✓] Linux toolchain - develop for Linux desktop
• Debian clang version 13.0.1-+rc1-1~exp4
• cmake version 3.22.1
• ninja version 1.8.2
• pkg-config version 0.29.2[✓] Android Studio (version 2021.1)
• Android Studio at /usr/local/google/home/gspencer/Android/android-studio
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)[✓] Android Studio
• Android Studio at /opt/android-studio
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)[✓] IntelliJ IDEA Community Edition (version 2021.3)
• IntelliJ at /opt/idea-IC-212.4746.92
• Flutter plugin version 65.0.4
• Dart plugin version 213.5744.122[✓] Connected device (2 available)
• Linux (desktop) • linux • linux-x64 • Debian GNU/Linux rodete 5.15.15-1rodete1-amd64
• Chrome (web) • chrome • web-javascript • Google Chrome 98.0.4758.102[✓] HTTP Host Availability
• All required HTTP hosts are available• No issues found!