-
Notifications
You must be signed in to change notification settings - Fork 46
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
Possible updates for the new ternary operator added in PowerShell language #184
Comments
Do you have the ternary operator on the same line as the expression?
Vs
It has to be on the same line. |
it's like this |
@Satak What version of PowerShell are you using? |
Sorry my bad. I just realized that the default PS is set to 5.1 at VS Code. I have installed 7.1 to my machine and after switching Powershell to 7.1 it works. Is there a place to set the default PS to 7.1 in VS Code? |
The ternary operator will soon be added to the PowerShell language, which may cause syntax colorization issue.
Open this issue to track the possible changes needed in this repo.
The text was updated successfully, but these errors were encountered: