codecadwallader / codemaid

CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.
http://www.codemaid.net
GNU Lesser General Public License v3.0
1.92k stars 362 forks source link

Code cleanup disable undo shortcut (crtl+z) #869

Open pierrebrito opened 2 years ago

pierrebrito commented 2 years ago

Environment

Description

After using Code cleanup on a .razor file, the undo shortcut (crtl+z) is disabled.

codecadwallader commented 2 years ago

Thanks for reporting the issue. That is strange, but I am able to reproduce it.

As a workaround you can disable CodeMaid->Options->General->Use undo transactions

I suspect that something has changed with how the undo transactions work and the session is not ending correctly.