Skip to content

Formatting causes removal of random texts in PowerShell script #3304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
ztrhgf opened this issue Apr 23, 2021 · 4 comments
Closed

Formatting causes removal of random texts in PowerShell script #3304

ztrhgf opened this issue Apr 23, 2021 · 4 comments
Labels
Resolution-Duplicate Will close automatically.

Comments

@ztrhgf
Copy link

ztrhgf commented Apr 23, 2021

Issue Type: Bug

If I use in settings.json: "powershell.codeFormatting.whitespaceBetweenParameters": true

It will automatically delete random chunks of text on running format on ps1 script.

My settings.json and script where you can test it are here https://www.dropbox.com/s/p9w60jjayq4jtty/vsc_formatting_bug.zip?dl=0

Extension version: 2021.2.2
VS Code version: Code 1.55.2 (3c4e3df9e89829dce27b7b5c24508306b151f30d, 2021-04-13T09:35:57.887Z)
OS version: Windows_NT x64 10.0.19042

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz (8 x 1896)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.88GB (3.50GB free)
Process Argv --crash-reporter-id 257616c8-d4a1-4b1d-b637-c60bf4009459
Screen Reader no
VM 0%
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
pythonvspyt678:30270856
pythonvspyt602:30291499
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vstry244:30276681
pythonvsdeb440:30248342
pythonvsded773:30248341
pythonvspyt875:30259475
pythonvspyt639:30291489
pythontb:30283811
pythonvspyt551cf:30291415
vspre833cf:30267465
pythonptprofiler:30281270
vshan820cf:30276953
vscoreces:30290705
pythondataviewer:30285071
vscus158:30286553

@ghost ghost added the Needs: Triage Maintainer attention needed! label Apr 23, 2021
@andyleejordan
Copy link
Member

Duplicate of #3304 (probably)

@SydneyhSmith SydneyhSmith added Resolution-Duplicate Will close automatically. and removed Needs: Triage Maintainer attention needed! labels Apr 27, 2021
@ghost
Copy link

ghost commented Apr 28, 2021

This issue has been marked as duplicate and has not had any activity for 1 day. It has been closed for housekeeping purposes.

@ghost ghost closed this as completed Apr 28, 2021
@ztrhgf
Copy link
Author

ztrhgf commented Apr 29, 2021

Duplicate to what Issue number? 3304 is this Issue...

@ghost ghost added the Needs: Maintainer Attention Maintainer attention needed! label Apr 29, 2021
@andyleejordan
Copy link
Member

Oops, sorry, meant #2569!

@andyleejordan andyleejordan removed the Needs: Maintainer Attention Maintainer attention needed! label Apr 29, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate Will close automatically.
Projects
None yet
Development

No branches or pull requests

3 participants