codemaid icon indicating copy to clipboard operation
codemaid copied to clipboard

Annoying freezes and crashing

Open tratteo opened this issue 3 years ago • 1 comments

Environment

  • Visual Studio version: 2022 Community
  • CodeMaid version: 12.0.300
  • Code language: C#

Description

Almost 2 times out of 5, when renaming a symbol, Visual studio freezes and crashes. During the freeze it is possible to see the writing "CodeMaid is cleaning whatever file.

Steps to recreate

  1. Rename symbol

Current behavior

Visual studio freezes and crashes. Sometimes i am forced to kill it from task manager.

Expected behavior

Should not freeze and crash upon symbol renaming

tratteo avatar Dec 01 '21 21:12 tratteo

Thanks for reporting the issue. This appears to be a duplicate of #587 if you would like to see more details.

The workaround proposed there: make sure the option CodeMaid->Options->General->Use undo transactions->Skip during automatic cleanup on save is enabled. This option should(tm) be on by default.

codecadwallader avatar Dec 03 '21 13:12 codecadwallader