4

VSCode offers Quick Fix feature on cmd+ shortcut. There are some Flutter shortcuts like Wrap with, Swap with parent and remove this widget. I don't know which plugin offers this features and this creates my question. In the past, Wrap with widget... option was on the top and I was satisfied with it. After some Flutter updates or installing new extensions, wrap with order changed. Most importantly after Bloc extension installed, my favorite option wrap with widget... remained at very bottom and it got harder to select it.

vscode wrap with quick fix

What I'm Looking For

I'm looking for a setting to change the order of quick fix dialog.

Feature Request

A search feature to quick fix would be great. It can be called quickfix+ or smt like this. It'll be attached to another shortcut like cmd+shift+. so user will still be able to use normal quick fix. I'd like to select Column by writing up to Column letters for example Col (like in cmd+shift+p). Current quick fix still offers navigate by pressing letters but if I'm in the top image's case, I must press Wrap with Co to select Wrap with column.

better quick fix

rioV8
  • 24,506
  • 3
  • 32
  • 49
Ataberk
  • 557
  • 1
  • 6
  • 26

2 Answers2

0

I believe this is based on the order of fixes provided by the analyzer. File an issue on the dart-lang/sdk to get it into the analyzer queue.

Randal Schwartz
  • 39,428
  • 4
  • 43
  • 70
0

I've just remembered I have posted this question. I'm using a vscode extension for a long time. It is a good workaround. Extension is called Keyboard QuickFix.

keyboard quickfix

.

INSTALLATION

Download the extension from this link. Then attach keyboard-quickfix.openQuickFix shortcut on your liking. It was old quick fix shortcut cmd+. in my case.

enter image description here

Now when you call the shortcut, a searchable quickfix opens. It increases my productivity a lot.

keyboard quickfix usage

Ataberk
  • 557
  • 1
  • 6
  • 26