Seems like in visual studio folding/unfolding a section is considered an undo "step".
That is if I fold a section then press undo it will unfold it. The same goes for redo.
To me this is highly confusing, folding/unfolding is navigation and should not be considered for undo/redo.
Is there a way to change this behaviour ?
CodePudding user response:
I have the Disable Outlining Undo extension that prevents it.