CodeCleanup on save might not be the best idea on invalid files, it can break indentation, remove usings (which are needed, but roslyn doesn't know that because of errors).
And save operation might still happen - maybe due to auto save configured, maybe due to muscle memory.
CodeCleanup on save might not be the best idea on invalid files, it can break indentation, remove usings (which are needed, but roslyn doesn't know that because of errors). And save operation might still happen - maybe due to auto save configured, maybe due to muscle memory.