.editorconfig and Code Cleanup issue with Visual Studio 2022 v17.2.1
#61 434 ouverte le 20 mai 2022
Métriques du dépôt
- Stars
- (20 414 stars)
- Métriques de merge PR
- (Merge moyen 6j 17h) (256 PRs mergées en 30 j)
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)