Closed
Description
- Call a file in your script with "." or "&" with a relative path like
& ..\Desktop\Temp\Test.ps1
(The file need to exist). - Trigger the Formatter by hitting Enter or Alt+Shift+F or any other way.
- The path to the file is deleted.
This is a major issue as opening a big script, changing a line (That triggers the auto format) will result in all paths in the document to corrupt braking the script! And if you saved and don't have a backup you are in trouble.
Extension version: 1.12.0
VS Code version: Code 1.32.3 (a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4, 2019-03-14T23:43:35.476Z)
OS version: Windows_NT x64 10.0.17763
EditorServices.log
vscode-powershell.log
System Info
Item | Value |
---|---|
CPUs | AMD Ryzen 7 1800X Eight-Core Processor (16 x 3593) |
GPU Status | 2d_canvas: enabled checker_imaging: disabled_off flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: disabled_software rasterization: enabled surface_synchronization: enabled_on video_decode: enabled webgl: enabled webgl2: enabled |
Memory (System) | 15.95GB (9.09GB free) |
Process Argv | |
Screen Reader | no |
VM | 50% |
Metadata
Metadata
Assignees
Labels
No labels