Undoing code folding
Answered
Hello,
Is there a way to enable undoing code folds (that is collapsing a section of code then uncollapsing it with CTRL+z) in the settings or through a plugin? The default behavior is that IntelliJ only includes text editions in the undo list, which is at times inconvenient.
Thanks.
Please sign in to leave a comment.
Hi Yann,
How are you collapsing the code?
I am able to undo the collapsing in a Java file with Ctrl + Z if I just performed it with Ctrl + Num-.
Hi Arina,
I am doing pretty much the same thing. Here's a recording where I use Ctrl + (-) followed by Ctrl + z and it only brings my cursor to where it was before: https://vimeo.com/545040543
Thank you.
Looks like this feature is not supported in IntelliJ IDEA after all.
I found a similar request in our tracking system, a recent one at that:
You can vote for it and leave additional comments there to show that some users would actually want this feature present.
Thanks for the reply and the advice. I will look into it.
Have a nice day.