Closed fernandoweiler closed 2 years ago
Thanks for reporting the issue. I have been unable to reproduce it. A couple things to try:
[CodeMaid Diagnostic 08:33:54 AM] CodeCleanupAvailabilityLogic.CanCleanupDocument returned false for 'C:\src\codemaid\CodeMaidShared\Logic\Cleaning\CodeCleanupAvailabilityLogic.cs' due to an auto-generated header.
Hi, thanks for the answer. Manually it works fine, only on save it is not working. I will take a look on steps 2 and 3 and give you a feedback. Edit: so, it seems the 'Skip during automatic cleanup on save' was enabled, so it wasn't a bug at all.
That resolved my issue as well, thanks!
Environment
Description
'Automatically run cleanup on file save' not working on VS 2022.
Steps to recreate
Current behavior
No cleanup is made, although the Cleaning > General > Automatically run cleanup on file save is active.
Expected behavior
Cleanup should be dispatched.