Sublime Forum

More intelligent automatic code unfolding when using Find function

#1

Take this situation:

  1. Code with multiple indentation levels is folded on level 1
  2. User opens the find toolbar and searches for a string
  3. ST3 jumps to first hit in the code and unfolds the indentation path until that position in code

The thing that could be improved here, is to let the equivalent indentation levels, that do not contain the hit, in a folded state.

For example, if the hit is in the indentation level 1>2>3, then all other levels 3 under the unfolded level 2 should remain folded.

I hope it’s clear what I mean, if not, please ask for more detail.
I think this function could be very usefull.

Regards
Alexandru

0 Likes

#2

Feature requests may be better placed at https://github.com/sublimehq/sublime_text/issues as this is the place such things are tracked and categoriezed.

0 Likes

#3
0 Likes