SublimeOutline icon indicating copy to clipboard operation
SublimeOutline copied to clipboard

Suggestion : "search" field on top of Outline

Open dimitrik-fr opened this issue 3 years ago • 2 comments

Would be great to have a kind of "search" (input) field on top of Outline list to allow quickly enter a few letters to reduce the list of outlined functions, etc. -- like enter "get" and reduce the Outline list to all functions/keywords containing "get" in the name, will be very useful when working with long files having many functions inside !

In any case, many thanks for this great pkg !! ;-))

dimitrik-fr avatar Nov 14 '22 14:11 dimitrik-fr

Depending on the file type, Cmd + R (find symbol) does that. It seems to work for my Markdown files.

nicbou avatar Jan 15 '23 08:01 nicbou

What I meant is different ;-))

  • supposing you're having a long file with, say, C++ code, with many functions
  • so, your Outline list will be very long as well
  • now, you need to focus only on editing functions matching "get" pattern
  • typing "get" on Outline will reduce the list to exactly what you need and let you quickly jump to needed names from the list
  • while typing Cmd+R each time and entering "get" will be quickly become boring ;-))

I should probably rename it to "Filter" field (rather "Search" used initially).

dimitrik-fr avatar Mar 20 '23 12:03 dimitrik-fr