Skip to content

Double-quoted strings treat @tokens as interpolations #149

@NReilingh

Description

@NReilingh

Environment

  • Editor and Version (VS Code, Atom, Sublime): VS Code 1.29.0
  • Your primary theme: Dark+ (default dark)

Issue Description

Double-quoted strings color @tokens the same as $tokens

Screenshots

image

Expected Behavior

Only $tokens or $(expressions) are string-interpolated in a double-quoted string. The @word is just going to be treated as part of the string.

Code Samples

This may be an appropriate spec test case:

    "This is a @double quoted string."
#   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string.quoted.double.powershell

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions