Skip to content

[powershell] Incorrect Powershell Parsing #8865

@MichaelMcBreen

Description

@MichaelMcBreen
  • VSCode Version: Code 1.3.0 (e724f26, 2016-07-07T16:56:12.476Z)
  • OS Version: Windows_NT ia32 10.0.10586

Steps to Reproduce:

  1. Create new file
  2. Name it TEST.ps1
  3. Add this text
    $c.'#text'
    SHOULD NOT BE MARKED AS STRING
    'SHOULD BE MARKED AS STRING
  4. VSCode incorrectly parses the text.
    The second line should not be shown as a string.
    The third line should be shown as a string
  5. Paste same text in the ISE to compare

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions