PowerShell / vscode-powershell

Provides PowerShell language and debugging support for Visual Studio Code
https://marketplace.visualstudio.com/items/ms-vscode.PowerShell
MIT License
1.71k stars 488 forks source link

"Quick fix all" for fixable PowerShell issues #733

Open pcgeek86 opened 7 years ago

pcgeek86 commented 7 years ago

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:

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

Cheers, Trevor Sullivan

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

kapilmb commented 7 years ago

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

TylerLeonhardt commented 6 years ago

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.

JamesLear92 commented 6 years ago

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

TylerLeonhardt commented 6 years ago

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 😄

cking22001 commented 1 year ago

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

potatoqualitee commented 6 months ago

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

andyleejordan commented 6 months ago

I will look into this...

JustinGrote commented 6 months ago

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