You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow "emulator management" handling to be disabled #3968
Is your feature request related to a problem? Please describe.
in a way, yes.. I work on numerous different projects, from standard web projects to hybrid-mobile projects, and I've now added Flutter projects to my environment as well.
I've already been using "Android iOS Emulator" for ages to manage my emulators, which is particularly handy since it does not rely on the currently open project being any specific "mobile" project type.
this Flutter extension now adds an additional "launch emulator" option, but only when I have a Flutter project open, resulting in multiple ways to do the "same" thing.
Describe the solution you'd like
I would like to be able to disable the "emulator" management features of this Flutter extension.
Describe alternatives you've considered
I've considered not using the "Android iOS Emulator" extension, but then I lose my ability to launch an emulator from VSCode to develop my Ionic projects.
I've considered not using this "Flutter" extension, but.. well.. I kinda need it.
this Flutter extension now adds an additional "launch emulator" option, but only when I have a Flutter project open, resulting in multiple ways to do the "same" thing
Can you clarify exactly what you're asking to be disabled? What/where do things show up that you would prefer did not?
There's an existing setting dart.flutterShowEmulators that controls emulator visibility for remote workspaces. It currently accepts "local" (only show emulators for local workspaces) and "always" (show emulators in all workspaces). I'm adding a new option "never" which will hide them always (the same as if it's set to "local" and you're in a remote workspace).
This will both hide the command, and also hide all offline emulators from the device picker (I don't think it makes sense to control these individually, you either have them both or neither).
Activity
DanTup commentedon May 18, 2022
Can you clarify exactly what you're asking to be disabled? What/where do things show up that you would prefer did not?
ZaLiTHkA commentedon May 18, 2022
no problem, I think this easiest way to do that is with screenshots..
when I open the VSCode Command Palette and type
emulator, I get the following options with an Ionic Framework project open:but then I get the following options with a Flutter project open:
I would like to remove the "Flutter: Launch Emulator" action, simply because inconsistency like this in my IDE interactions cause headaches.
DanTup commentedon May 18, 2022
Got it, thanks!
There's an existing setting
dart.flutterShowEmulatorsthat controls emulator visibility for remote workspaces. It currently accepts"local"(only show emulators for local workspaces) and"always"(show emulators in all workspaces). I'm adding a new option"never"which will hide them always (the same as if it's set to"local"and you're in a remote workspace).This will both hide the command, and also hide all offline emulators from the device picker (I don't think it makes sense to control these individually, you either have them both or neither).
ZaLiTHkA commentedon May 19, 2022
that's awesome, thank you @DanTup. :)
Add "never" as an option to dart.flutterShowEmulators