EditorConfigLanguage
EditorConfigLanguage copied to clipboard
Incorrect list of values for csharp_space_around_declaration_statements
Installed product versions
- Visual Studio: 2019 Community
- This extension: 1.17.284
Description
Incorrect candidate values for csharp_space_around_declaration_statements are presented.
Steps to recreate
- Open .editorconfig file in Visual Studio
- Input "csharp_space_around_declaration_statements =".
Current behavior
"ignore" and "do_not_ignore" will be presented for csharp_space_around_declaration_statements.
Expected behavior
It will present "ignore" and "false".
See also
- https://github.com/dotnet/docs/blob/master/docs/fundamentals/code-analysis/style-rules/formatting-rules.md#csharp_space_around_declaration_statements
- https://github.com/dotnet/roslyn/blob/f2d3bd1bbf019fdc34ba84ceca09200a89e1f1e3/src/Workspaces/SharedUtilitiesAndExtensions/Compiler/CSharp/Formatting/CSharpFormattingOptions2.cs#L185