Add switch autocomplete on enum #36290
Labels
devexp-server
Issues related to some aspect of the analysis server
legacy-area-analyzer
Use area-devexp instead.
type-enhancement
A request for a change that isn't a bug
In Android Studio, Dart does not compile if a
switch
is used on an enum and some clause are missing.Though I do not see why should that trigger a fatal compiler error, (Why not just skip missing clause) one would intuitively place the cursor on the error and press the keys: ALT+ENTER but nothing happens.
I suggest a feature that auto-generate all missing clause with an empty:
break
statement or just not consider this a fatal compiler error at all.The text was updated successfully, but these errors were encountered: