vscode-powershell icon indicating copy to clipboard operation
vscode-powershell copied to clipboard

"Quick fix all" for fixable PowerShell issues

Open pcgeek86 opened this issue 8 years ago • 8 comments

In VSCode right now, you can only Quick Fix issues one at a time. It would be great if I could "quick fix all" in the following scopes:

  • Current file
  • Current workspace
  • Current text selection

screen shot 2017-05-11 at 10 00 58 am

Cheers, Trevor Sullivan

NOTE: Related issue: https://github.com/Microsoft/vscode/issues/22220

pcgeek86 avatar May 11 '17 18:05 pcgeek86

I think we can target this for v1.2 iteration.

kapilmb avatar May 11 '17 19:05 kapilmb

VSCode has now added "quick fix all" 🎉 It should be in the latest insider build. We should see what work is involved on our side to enable this.

TylerLeonhardt avatar Jan 22 '18 15:01 TylerLeonhardt

Hi @tylerl0706,

This is a pretty exciting feature which I have been waiting for desperately. Is this now in the pipeline for this extension now it's supported by VSCode?

Is there a roadmap for this extension?

Cheers

JamesLear92 avatar Feb 16 '18 09:02 JamesLear92

Here's what is required:

"Each extension/language can implement quick fix all using the existing CodeActionProvider API"

@Omniusz there are some perf related issues that are at the top of my priority. As soon as I get those figured out I can start looking at this.

But of course... PRs always welcome 😄

TylerLeonhardt avatar Mar 20 '18 05:03 TylerLeonhardt

I have latest vscode and powershell extensions. Is this issue fixed? I do not see a fix all and I see this is open.

cking22001 avatar May 10 '23 19:05 cking22001

Same, wondering if there's a setting I can set

potatoqualitee avatar Apr 19 '24 12:04 potatoqualitee

I will look into this...

andyleejordan avatar Apr 23 '24 00:04 andyleejordan

Prior art I've seen shows there's no specific vscode API, it's either implemented as a vscode command, as an additional context menu "quick fix all", or both.

https://www.youtube.com/watch?v=GEoSWzdQsno&t=53s

JustinGrote avatar Apr 23 '24 14:04 JustinGrote