Used Visual Studio
Visual Studio 2022
Are the latest Visual Studio updates installed?
Yes
Issue Description
When using csharp_style_namespace_declarations = file_scoped:warning in .editorconfig, the generated classes are still block scoped.
related: https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/style-rules/ide0160-ide0161
Steps to Reproduce
- Set in the
csharp_style_namespace_declarations = file_scoped:warning in the .editorconfig,
- Create a new scenario with new texts
- Right click and "Define Steps"
- Press Create
expected: a class is generated with file scoped namespaces
current result: a class is generated with block scoped namespaces