Can code folding be animated by a smooth transition?

Answered

When folding long blocks of code, its easy to loose track of where one was and it hits the eye. Is it possible to enable some sort of smooth folding? Such that the code folding is animated by a transition (obviously the whole process should be completed within a couple of milliseconds, but still remain smooth on the eyes).

Would this be possible to do by a plugin? What would be a starting point to read up on how this might be done?

0
4 comments

afdasaerlkjavsd sadly there's no such functionality in our IDEs at the moment. Do I understand right that you would like code lines not to disappear instantly, but move upwards and only then become hidden under the starting line? Could you maybe provide an example of an application that behaves as desired (in case there is any)?

Are you folding using the shortcut or by clicking the button on the gutter? What programming language you are working with?

0

Ekaterina Valeeva  Yes exactly, I use both gutter icons and shortcut (CTRL + “Minus”). Yes, you perfectly summarized what I had in mind. The motivation for my question is really, that when folding a large block, it would be easier to follow the code layout

0

I dont have an example from an editor that offers this feature unfortunately.

 

0

afdasaerlkjavsd thank you for clarifying. I filed a feature request to our tracker, kindly upvote IDEA-345233 and follow it for updates, please refer to this article if you are not familiar with YouTrack.

0

Please sign in to leave a comment.