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

Code format breaks code

Open petr-ujezdsky opened this issue 5 years ago • 1 comments

If (-NOT $global:balloon)

is reformatted into

If (-NOT$global:balloon)

which is unrunnable. I have stumbled over this when I tried to integrate https://github.com/proxb/PowerShell_Scripts/blob/master/Invoke-BalloonTip.ps1 into our project.

petr-ujezdsky avatar Nov 08 '19 11:11 petr-ujezdsky

This is really critical issue for me too.
This

Start-Job -ScriptBlock { runThis.exe --color=blue --name=jacob }

is reformatted to

Start-Job -ScriptBlock { runThis.exe --color = blue --name = jacob }

Autoformatting applied on git commit makes this a particulary nasty bug.

pietrygamat avatar Aug 17 '21 17:08 pietrygamat

Closed as a duplicate of #102.

ForNeVeR avatar Sep 06 '23 21:09 ForNeVeR