Skip to content

powershell ext - colorizer has issues with quoted string containing @ #216

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
mlhickey opened this issue Jun 30, 2016 · 3 comments
Closed

Comments

@mlhickey
Copy link

Using VSC 1.3.0-insider and PowerShell 0.6.1. The colorizer portion exhibits odd behavior then a quoted string contains the @ character. The behavior changes depending on whether single- or double-quote character is used, but both are incorrect/

  1. Edit/create .ps1 file with multiple lines of code, add line like $next = $jsonObj.'@odata.nextlink'
    colorizer-bug.ps1.txt
    in body
  2. Notice incorrect coloration of remaining code
  3. Change single quote to double quote like $next = $jsonObj."@odata.nextlink"
  4. Notice incorrect coloration of remaining code
@gerane
Copy link

gerane commented Jul 5, 2016

@gravejester is this related to the issue you just fixed?

@gravejester
Copy link

Yes, I think this one is related, but not fixed by my latest PR, will fix and push new commit to get this fixed as well :)

@daviwil
Copy link
Contributor

daviwil commented Jul 13, 2016

Since @gravejester has fixed this I'll go ahead and close the issue. @mlhickey, you may not see the fix until the next VS Code release (or an upcoming VS Code Insiders build if you use that). Thanks!

@daviwil daviwil closed this as completed Jul 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants