Skip to content

Options within attributes not highlight without equal sign. #116

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
omniomi opened this issue Jun 7, 2018 · 1 comment · Fixed by #117
Closed

Options within attributes not highlight without equal sign. #116

omniomi opened this issue Jun 7, 2018 · 1 comment · Fixed by #117
Labels

Comments

@omniomi
Copy link
Contributor

omniomi commented Jun 7, 2018

Environment

  • VS Code
  • Tenebrae Dark Blue

Issue Description

Within an attribute like [parameter()] the options don't highlight unless in key=value pairs.

Screenshots

Expected Behavior

Should highlight when called alone.

Code Samples

[Parameter(ValueFromPipeline,
                   ValueFromPipelineByPropertyName,
                   ParameterSetName='File')]
[string]$Path,
@omniomi omniomi added the bug label Jun 7, 2018
@vors
Copy link
Contributor

vors commented Jun 8, 2018

Isn't it nice to have inlined repro :)

omniomi added a commit that referenced this issue Jun 9, 2018
Fix #116 and add support for SupportsPaging attribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants