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
Describe the bug
The order of the Code Actions Menu should (and did until about a month ago) display "Wrap with Widget" as the first option, but for some time it sorts alphabetically as of recently.
To Reproduce Ctrl + .
Expected behavior
As described in the description, the "Wrap with Widget" option should be first in the list, but instead it sorts alphabetically
Screenshots
Versions (please complete the following information):
Personally, I'd make a submenu for everything with "Wrap with [widget_name]" leaving "Wrap with widget..." on top and independent. This way the list won't look so long.
Personally, I'd make a submenu for everything with "Wrap with [widget_name]" leaving "Wrap with widget..." on top and independent. This way the list won't look so long.
Yes it does look wrong, that's the problem I described. I want it to be at the top as well, but it suddenly isn't any more
Activity
PollyGlot commentedon Nov 2, 2021
Personally, I'd make a submenu for everything with "Wrap with [widget_name]" leaving "Wrap with widget..." on top and independent. This way the list won't look so long.
DanTup commentedon Nov 2, 2021
Unfortunately VS Code doesn't give us any ability to group code actions/use sub-menus.
larsb24 commentedon Nov 5, 2021
Yes it does look wrong, that's the problem I described. I want it to be at the top as well, but it suddenly isn't any more
[analysis_server] Correct sorting of fixes, inverting priorities to m…
DanTup commentedon Nov 8, 2021
This has been fixed in the SDK and the fix will show up in a future SDK release. Sorry for the bother!
dart-lang/sdk@00ca328