Skip to content

Add magic value formatting for variable booleans #1636

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

Merged
merged 1 commit into from
Dec 27, 2021

Conversation

JustinGrote
Copy link
Collaborator

@JustinGrote JustinGrote commented Nov 24, 2021

This PR fixes PowerShell/vscode-powershell#3703

$true and $false now highlight correctly regardless of vscode bug, and number/string type is still preserved.
image

Copy link
Collaborator

@SeeminglyScience SeeminglyScience left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@andyleejordan
Copy link
Member

I really like this, but I want to get the debug service tests re-enabled first. At that point, this may break (but the break will be "update tests' expectations." Sound good? I'm making progress on the tests!

@JustinGrote
Copy link
Collaborator Author

@andschwa thanks for fixing the debugger, I've added related tests.

Co-authored-by: Patrick Meinecke <[email protected]>
Co-authored-by: Andy Schwartzmeyer <[email protected]>
@andyleejordan andyleejordan force-pushed the JustinGrote/fixVariablePresentation branch from c3f81f2 to 3509712 Compare December 27, 2021 21:01
@andyleejordan andyleejordan enabled auto-merge (squash) December 27, 2021 21:02
@andyleejordan andyleejordan added the Issue-Enhancement A feature request (enhancement). label Dec 27, 2021
@andyleejordan andyleejordan merged commit 3c4e48e into master Dec 27, 2021
@andyleejordan andyleejordan deleted the JustinGrote/fixVariablePresentation branch December 27, 2021 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Debugging Issue-Enhancement A feature request (enhancement).
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

$true is not highlighted in blue in debugger
3 participants