Skip to content
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

expose IndentSwitchCaseSectionWhenBlock in OmniSharp FormattingOptions #1353

Merged
merged 2 commits into from
Dec 6, 2018

Conversation

filipw
Copy link
Member

@filipw filipw commented Dec 5, 2018

Fixes #1351

As pointed out by @DustinCampbell, we missed this setting. I actually went through all of the FormattingOptions we expose and compared them to Roslyn's CSharpFormattingOptions and this was actually the only one we were missing 😀

This also fixes the default formatting behavior, since the default value is set to true.

Copy link
Contributor

@DustinCampbell DustinCampbell left a comment

Choose a reason for hiding this comment

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

LGTM

@DustinCampbell DustinCampbell merged commit eb8a24c into OmniSharp:master Dec 6, 2018
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.

IndentSwitchCaseSection handled improperly if case only contains a block
4 participants