Dart-code: No remove widget Option

Created on 13 Jul 2019  路  5Comments  路  Source: Dart-Code/Dart-Code

There is no remove widget option in vscode show fixes (bulb) button.
OS: Linux

is question

Most helpful comment

Oh sorry, I think this option was renamed from "Remove Widget" to "Replace widget with its children" to try and be more explicit about what it does:

Screenshot 2019-07-13 at 21 58 57

All 5 comments

Please provide a concrete example of some code where you expect to see it but are not.

Please provide a concrete example of some code where you expect to see it but are not.

Doesn't matter what code, the option simply doesn't exist for any widget in any position.

Oh sorry, I think this option was renamed from "Remove Widget" to "Replace widget with its children" to try and be more explicit about what it does:

Screenshot 2019-07-13 at 21 58 57

I think better is Remove Widget

The text comes from the Dart SDK rather than the VS Code plugin. It was changed after discussion in https://github.com/Dart-Code/Dart-Code/issues/1647 though, as it was confusing because it only sometimes shows up (eg. when the children will fit in the place of the widget being removed).

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ifredom picture ifredom  路  3Comments

e200 picture e200  路  3Comments

atreeon picture atreeon  路  5Comments

DanTup picture DanTup  路  3Comments

FeimiSzy picture FeimiSzy  路  4Comments