.editorconfig and Code Cleanup issue with Visual Studio 2022 v17.2.1
#61.434 aperta il 20 mag 2022
Metriche repository
- Star
- (20.414 star)
- Metriche merge PR
- (Merge medio 6g 17h) (256 PR mergiate in 30 g)
Descrizione
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)