Skip to content

Parsing error of newline + pipe operator combination #182

@En3Tho

Description

@En3Tho

Consider this example:

$q = 1,2,3 # or some multiline cli call
$q
| Where-Object { $_ -gt 1 }
| ForEach-Object { "I'm $_" }

VSCode has no problems parsing that but plugin is unable to do so. Is it hard to fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is neededparserIssues related to PowerShell script parsing

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions