Skip to content

Add settings for Stroustrup style. #788

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

Conversation

rkeithhill
Copy link
Contributor

This is a copy of OTBS with just the PlaceOpenBrace.OnSameLine set to $false.

This is a copy of OTBS with just the PlaceOpenBrace.OnSameLine set to $false.
Rules = @{
PSPlaceOpenBrace = @{
Enable = $true
OnSameLine = $false
Copy link

Choose a reason for hiding this comment

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

This should be $true


PSPlaceCloseBrace = @{
Enable = $true
NewLineAfter = $false
Copy link

Choose a reason for hiding this comment

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

This should be $true

@kapilmb kapilmb merged commit b9f9b68 into PowerShell:development Jun 17, 2017
@rkeithhill rkeithhill deleted the rkeithhill/add-stroustrup-format-settings branch June 17, 2017 20:12
@kapilmb
Copy link

kapilmb commented Jun 17, 2017

Thanks @rkeithhill !

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

Successfully merging this pull request may close these issues.

4 participants