We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
From @scriptingstudio in microsoft/vscode#97404
Powershell methods foreach and where are not highlighted after curly bracket. With parenthesis it works fine.
foreach
where
Example code:
@($group).where{$_.count -gt 1 -and $_.name}.foreach{...}
"where" is highlighted. "foreach" is not highlighted and has a very general scope
The foreach should have a more specific scope.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
From @scriptingstudio in microsoft/vscode#97404
Environment
VS Code
Version: 1.46.0-insider (user setup) also happens on 1.45
Commit: 288852d8c26d797974bfb8aed06e1bff9b809223
Date: 2020-05-12T05:43:31.363Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Windows_NT x64 10.0.19041
Issue Description
Powershell methods
foreach
andwhere
are not highlighted after curly bracket. With parenthesis it works fine.Example code:
"where" is highlighted.
"foreach" is not highlighted and has a very general scope
Screenshots
Expected Behavior
The
foreach
should have a more specific scope.Code Samples
The text was updated successfully, but these errors were encountered: