Skip to content

Commented out text still uncommented #148

Closed

Description

Environment

  • Editor and Version (VS Code, Atom, Sublime): VSCode
  • Your primary theme: Monokai

Issue Description

Pasting code as below shows .Link as still active

image

#write-host $link.Text
#write-host $link.Link

Expected Behavior

Commented out - same color

Activity

  1. msftrncs commented on Oct 1, 2018

    @msftrncs
    Contributor

    This is related to #136, documentation keywords being detected where not eligible or not detected where they should be (though it focuses on the not being detected part).

    # .link is a documentation keyword that allows HELP to present useful links to the user. Its only supposed to be eligible when used at the start of a single line comment that starts a line or at the start of any line in a multi line comment.

  2. omniomi commented on Oct 1, 2018

    @omniomi
    Contributor

    Przemysław Kłys (@PrzemyslawKlys), this was actually fixed in PR #135. It hasn't been merged into Microsoft/vscode yet but should be soon.

    You can use the latest build artifact if you would like the fix now: https://ci.appveyor.com/project/powershell/editorsyntax/branch/master/artifacts

  3. PrzemyslawKlys commented on Oct 1, 2018

    @PrzemyslawKlys
    Author

    Thanks. I'll wait for official release :-) Not really big deal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions