.editorconfig and Code Cleanup issue with Visual Studio 2022 v17.2.1
#61,434 opened on May 20, 2022
Repository metrics
- Stars
- (20,414 stars)
- PR merge metrics
- (Avg merge 6d 17h) (256 merged PRs in 30d)
Description
This issue has been moved from a ticket on Developer Community.
[severity:It's more difficult to complete my work] Hi all!
I'm facing a strange issue with .editorconfig and Code Cleanup. In my solution I have the following setting in the .editorconfig:

Then, I have added the "Apply namespace matches folder preferences" in the Included fixers for Code Cleanup:

With this setup, regardless of the setting in the .editorconfig, when I run Code Cleanup on a file whose namespace does not match folder structure, the namespace is changed accordingly.
Am I missing something in the configuration or is there an issue with this feature?
Kindest regards.
Original Comments
(no comments)
Original Solutions
(no solutions)