Skip to content

Toggle Line Comment does not toggle #109889

@tore-jan-skarstein

Description

@tore-jan-skarstein

Issue Type: Bug

Highlight the following two lines your PS script and choose Menu > Edit > Toggle:

Write-Host("The hashtag should be removed on toggle")

Write-Host("Prepend a hashtag to this line")

VS Code version: Code 1.50.1 (d2e414d, 2020-10-13T15:06:15.712Z)
OS version: Windows_NT x64 10.0.19042

System Info
Item Value
CPUs Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (8 x 1800)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
protected_video_decode: enabled
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 15.85GB (7.85GB free)
Process Argv --crash-reporter-id fc41337f-535f-4f66-bf45-11f7fca41661
Screen Reader no
VM 0%
Extensions (5)
Extension Author (truncated) Version
code-runner for 0.11.1
vscode-azurefunctions ms- 1.0.0
azure-account ms- 0.9.3
powershell ms- 2020.6.0
run-in-powershell tob 1.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    *duplicateIssue identified as a duplicate of another issue(s)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions