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
else
Summary of the new feature
From the "There is no One True Brace Style" discussion it seems a lot of people, including me, likes OTBS with else on a new line.
In vscode-powershell one can't use a preset and override a setting it defines. Thus getting this code style in VSCode currently, one have to use:
vscode-powershell
{ "powershell.codeFormatting.preset": "Custom" }
then define all settings one by one.
Proposed technical implementation details (optional)
Add a new formatting preset for OTBS with else on a new line.
What is the latest version of PSScriptAnalyzer at the point of writing
v1.23.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Summary of the new feature
From the "There is no One True Brace Style" discussion it seems a lot of people, including me, likes OTBS with
else
on a new line.In
vscode-powershell
one can't use a preset and override a setting it defines. Thus getting this code style in VSCode currently, one have to use:then define all settings one by one.
Proposed technical implementation details (optional)
Add a new formatting preset for OTBS with
else
on a new line.What is the latest version of PSScriptAnalyzer at the point of writing
v1.23.0
The text was updated successfully, but these errors were encountered: