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

New Settings in VS 16.10 #48

Closed
RehanSaeed opened this issue Mar 3, 2021 · 3 comments · Fixed by #59
Closed

New Settings in VS 16.10 #48

RehanSaeed opened this issue Mar 3, 2021 · 3 comments · Fixed by #59
Labels
enhancement Issues describing an enhancement or pull requests adding an enhancement.

Comments

@RehanSaeed
Copy link
Owner

RehanSaeed commented Mar 3, 2021

VS 16.10 adds new settings. Settings are suffixed with _experimental. Wait for it to be released before adding.

See dotnet/roslyn#50358

# IDE2000, AllowMultipleBlankLines
dotnet_style_allow_multiple_blank_lines_experimental = true
# IDE2001, AllowEmbeddedStatementsOnSameLine
csharp_style_allow_embedded_statements_on_same_line_experimental = true
# IDE2002, AllowBlankLinesBetweenConsecutiveBraces
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = true
# IDE2003, AllowStatementImmediatelyAfterBlock
dotnet_style_allow_statement_immediately_after_block_experimental = true
# IDE2004, AllowBlankLineAfterColonInConstructorInitializer
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = true

See dotnet/roslyn#49990

dotnet_style_namespace_match_folder

See dotnet/roslyn#55005

csharp_style_prefer_null_check_over_type_check
@RehanSaeed RehanSaeed added the enhancement Issues describing an enhancement or pull requests adding an enhancement. label Mar 3, 2021
@T-0pel
Copy link

T-0pel commented Aug 6, 2021

Hi, are there any news on when these will be released? We are mainly interested in the dotnet_style_namespace_match_folder, is there any way to enable it now in VS 16.10?

@RehanSaeed
Copy link
Owner Author

I'll take a look soon. Documentation is a little lacking.

@RehanSaeed
Copy link
Owner Author

RehanSaeed commented Aug 9, 2021

This is now fixed by #59 for which I'm also interested in community feedback.

The experimental settings have still not been made generally available, so moved those to #60.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues describing an enhancement or pull requests adding an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants