You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Format the document or save the document (if settings are set to format on save)
CustomerName should be indented properly after the format document command is issued.
It does not happens.
That being said, the equals signs get aligned and extra spaces are removed, as expected.
The issue only happens with Powershell Preview.
If only Powershell is enabled (or both extensions) then the formatting occurs properly, which seems to indicate that both Powershell extension (stable) and PSScriptAnalyzer are not a fault.
This happens in both VSCode and VSCode Insiders.
I also formatted my computer (for unrelated reasons) and experience the same issues .
@SydneyhSmith is there a way to leave some trace of the tickets moved to other repos here?
Because what happen to me (and probably @itfranck) is that we search here, don't find it and open a duplicate. Maybe instead of moving the issue, duplicate to the other repository and close the original with a link to the one in the other repo (Don't know if it's possible just throwing it out there, there is probably a better solution)
Issue Type: Bug
Create a new powershell file.
Add the following statement
Format the document or save the document (if settings are set to format on save)
CustomerName should be indented properly after the format document command is issued.
It does not happens.
That being said, the equals signs get aligned and extra spaces are removed, as expected.
The issue only happens with Powershell Preview.
If only Powershell is enabled (or both extensions) then the formatting occurs properly, which seems to indicate that both Powershell extension (stable) and PSScriptAnalyzer are not a fault.
This happens in both VSCode and VSCode Insiders.
I also formatted my computer (for unrelated reasons) and experience the same issues .
Relevant formatting settings for reference.
Extension version: 2020.5.0
VS Code version: Code 1.45.1 (5763d909d5f12fe19f215cbfdd29a91c0fa9208a, 2020-05-14T08:27:35.169Z)
OS version: Windows_NT x64 10.0.18363
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
The text was updated successfully, but these errors were encountered: