microsoft / vscode-copilot-release

Feedback on GitHub Copilot Chat UX in Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=GitHub.copilot-chat
Creative Commons Attribution 4.0 International
311 stars 28 forks source link

"Fix using Copilot" should have lower priority in "quick fix" menu than linter suggestions. #78

Closed fahrenq closed 1 year ago

fahrenq commented 1 year ago

Currently "Fix using Copilot" is always the first option when you use quick fix with CMD + .. I am so used to double-pressing the quick fix shortcut to resolve imports, change quotes, etc, that copilot's fix option gets in the way.

I reckon there should be some way to push these options further down in the quick fix menu.

image
fahrenq commented 1 year ago

I just noticed that it's not happening with all suggestions:

tyepscript/eslint seem to take priority over copilot, for example:

image
eddited17 commented 1 year ago

+1 here. For me it isn't showing any other quick fixes besides fix and expain with Copilot

jrieken commented 1 year ago

/cc @mjbvz for extra insights but AFAIK sorting for code actions depends on them addressing a problem or not. That's why the sorting is dynamic. We might be able to tweak this a little but ultimately I believe a setting will be required to enable/disable copilot code actions