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.11 #60

Open
RehanSaeed opened this issue Aug 9, 2021 · 6 comments · May be fixed by #75
Open

New Settings in VS 16.11 #60

RehanSaeed opened this issue Aug 9, 2021 · 6 comments · May be fixed by #75
Labels
enhancement Issues describing an enhancement or pull requests adding an enhancement.

Comments

@RehanSaeed
Copy link
Owner

RehanSaeed commented Aug 9, 2021

Edit: Moved these settings to: #76. More settings listed below.

See dotnet/roslyn#50358

# IDE2000, AllowMultipleBlankLines
dotnet_style_allow_multiple_blank_lines_experimental = false:warning
# IDE2001, AllowEmbeddedStatementsOnSameLine
csharp_style_allow_embedded_statements_on_same_line_experimental = false:warning
# IDE2002, AllowBlankLinesBetweenConsecutiveBraces
csharp_style_allow_blank_lines_between_consecutive_braces_experimental = false:warning
# IDE2003, AllowStatementImmediatelyAfterBlock
dotnet_style_allow_statement_immediately_after_block_experimental = false:warning
# IDE2004, AllowBlankLineAfterColonInConstructorInitializer
csharp_style_allow_blank_line_after_colon_in_constructor_initializer_experimental = false:warning
@RehanSaeed RehanSaeed added the enhancement Issues describing an enhancement or pull requests adding an enhancement. label Aug 9, 2021
@RehanSaeed
Copy link
Owner Author

Add C# 10 setting:

# Undocumented
csharp_style_namespace_declarations = file_scoped:warning

@RehanSaeed
Copy link
Owner Author

Fixed csharp_style_namespace_declarations = file_scoped:warning in #61.

@RehanSaeed
Copy link
Owner Author

There is also a new setting to require the use of System.HashCode.

@RehanSaeed
Copy link
Owner Author

RehanSaeed commented Aug 16, 2022

@RehanSaeed
Copy link
Owner Author

RehanSaeed commented Dec 15, 2022

@RehanSaeed
Copy link
Owner Author

RehanSaeed commented Sep 19, 2023

Fixed by #75

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.

1 participant