Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion : "search" field on top of Outline #39

Open
dimitrik-fr opened this issue Nov 14, 2022 · 2 comments
Open

Suggestion : "search" field on top of Outline #39

dimitrik-fr opened this issue Nov 14, 2022 · 2 comments

Comments

@dimitrik-fr
Copy link

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 !! ;-))

@nicbou
Copy link

nicbou commented Jan 15, 2023

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

@dimitrik-fr
Copy link
Author

dimitrik-fr commented Mar 20, 2023

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants