When I rename a class property in C# in a small or large solution, then the UI hangs, lags, then VS2022 crashes, I do have the same experience using VS 2019.
I tried a sample project C#, any type of project, console app, for example.
I create a new project C#, console, I create a class with a property and use it in the Program.cs, build the code, I use Ctrl+R Ctrl+R once in the class, then I use Ctrl+R, Ctrl+R in the program file.
It seems like CodeMaid extension does a clean-up of the code during, then it saves the file, then another code cleanup is triggered, then another autosave, then another clean-up of the code, then an autosave, until VS hangs and crashes, the variable seems to be properly renamed when I re-open the project though.
If I disable the CodeMaid extension, it seems the issue does not occur.
If I disable the Tweaks 2022 extension, the issue does not occur.
When I rename a class property in C# in a small or large solution, then the UI hangs, lags, then VS2022 crashes, I do have the same experience using VS 2019.
I tried a sample project C#, any type of project, console app, for example.
I create a new project C#, console, I create a class with a property and use it in the Program.cs, build the code, I use Ctrl+R Ctrl+R once in the class, then I use Ctrl+R, Ctrl+R in the program file. It seems like CodeMaid extension does a clean-up of the code during, then it saves the file, then another code cleanup is triggered, then another autosave, then another clean-up of the code, then an autosave, until VS hangs and crashes, the variable seems to be properly renamed when I re-open the project though. If I disable the CodeMaid extension, it seems the issue does not occur. If I disable the Tweaks 2022 extension, the issue does not occur.
It seems the issue is below, and VS 2022 hangs and crashes because of an infinite loop? https://github.com/codecadwallader/codemaid/issues/587