Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Undo and Redo in Visual studio community edition 2022 Not working

Undo and Redo not working, sucks! (visual studio community edition 2022)

I've been developing using VS on and off for 15 years, never been a problem in the past. Today I got a project that needs me to dev some C#. Installed the latest ver of VS (visual studio community edition 2022) looks good loads fine woohoo!

Oops I need to undo the last 3 characters I typed (such as typing "WTF") I'll just tap Ctrl+z 3 times and be fine... NOPE! not working and the toolbar icon shows as if it's not available.

Does anyone have an idea of how to tune on or fix this basic feature?

Thanks Shane

like image 552
Shane Avatar asked Dec 05 '25 05:12

Shane


1 Answers

This problem seems to be closely related to Hot Reload feature in visual studio 2022.

To solve this problem temporary, disable hot reloading in visual studio, and edit and continue option in debug.

You can also disabled hot reloading feature while keeping watch running from command-line by using this command with switch:

dotnet watch run --no-hot-reload

enter image description here

enter image description here

like image 130
Ashraf Sada Avatar answered Dec 07 '25 04:12

Ashraf Sada



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!