Sublime Forum

Hide selected rows

#1

Hello, one of the thing to great-to-have is option “hide selected rows”. For example I work with file with many rows and some of them is finished (like some function or a class), I would like to hide them from showing and in the gutter icon of some triangle or something like that to know that rows are hidden. I am aware of “fold” and “fold_by_level” options but these options do not solve my problem. These options solve folding/hiding ALL FILE or all file by level, what I want is only to fold/hide/something_to_do to hide ONLY selected rows. Only. And on icon click or shortcut to show/unfold/ hidden rows.

0 Likes

#2

If you select a segment of code and use the Edit > Code Folding > Fold it will fold only what you have selected.

0 Likes

#3

Thanks, it would do the problem.

0 Likes