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
We have written the needed data into your clipboa
Issue Type: Bug
The highlight syntax for comments is wrong for PowerShell files.
EG.
.\procedure.ps1 `
-arg1 $variableforarg1 ` #this syntax highlighting should not resemble a comment
-arg2 $variableforarg2 ` <#this syntax highlight should not resemble a comment because it's invalid to add a comment here #>
-arg3 $variableforarg3 <#this syntax higlight should be correct#>`
-arg4 $variableforarg4
The example above shows that the "arg1" and "arg2" have incorrect comments and should not by syntax higlighted as comments.
For me saddly as a beginner powershell user this was an issue when trying to deploy :(. Just want to make that you have a visual cues when using this and not commit a faulty powershell script in production like me.
P.S. if you use the PowerShell ISE it will syntax highlight correctly.
VS Code version: Code 1.31.1 (1b8e830, 2019-02-12T02:20:54.427Z)
OS version: Windows_NT x64 10.0.16299
System Info
Item
Value
CPUs
Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz (8 x 3408)
We have written the needed data into your clipboa
Issue Type: Bug
The highlight syntax for comments is wrong for PowerShell files.
EG.
The example above shows that the "arg1" and "arg2" have incorrect comments and should not by syntax higlighted as comments.
For me saddly as a beginner powershell user this was an issue when trying to deploy :(. Just want to make that you have a visual cues when using this and not commit a faulty powershell script in production like me.
P.S. if you use the PowerShell ISE it will syntax highlight correctly.
VS Code version: Code 1.31.1 (1b8e830, 2019-02-12T02:20:54.427Z)
OS version: Windows_NT x64 10.0.16299
System Info
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
Extensions (7)
The text was updated successfully, but these errors were encountered: