Author Topic: Ability to save more search history  (Read 796 times)

dpurdie

  • Junior Community Member
  • Posts: 7
  • Hero Points: 0
Ability to save more search history
« on: December 02, 2013, 08:30:24 am »
I would like more depth in the history (dropdown combo) used in the Find and Replace form.
It would appear that the history of the 'Search For:' and 'Replace With' is limited to 20 items.
This is much to short.

My problem is that I use the 'Find' a lot and the 'Replace' less often, but when I do a replace I often use a complex RegExp, but its no longer in the 20-deep history as its been flushed out by my frequent finds.

Graeme

  • Senior Community Member
  • Posts: 2363
  • Hero Points: 311
Re: Ability to save more search history
« Reply #1 on: December 02, 2013, 12:29:05 pm »
I would like more depth in the history (dropdown combo) used in the Find and Replace form.
It would appear that the history of the 'Search For:' and 'Replace With' is limited to 20 items.
This is much to short.

My problem is that I use the 'Find' a lot and the 'Replace' less often, but when I do a replace I often use a complex RegExp, but its no longer in the 20-deep history as its been flushed out by my frequent finds.

You can right click in the find/ replace dialog and select "save search expressions".

rgloden

  • Senior Community Member
  • Posts: 166
  • Hero Points: 5
Re: Ability to save more search history
« Reply #2 on: September 05, 2015, 09:49:21 pm »
I use several combinations of the Find fields "Look in", "File types", and "use Regular Expression" that I constantly have to change. 

It would be nice to have a quick way to select from a pre-saved Searches, i.e. would be great if SE would extend its Saved Search Expressions to also support a "Saved Searches" which would save every option in the Find Dialogue, e.g. the "Search for" expression, "Look in", "File types", "use Regular expression" as well as "all" of the other search options.

And of course there would need to be a Set Default Search and Use Default Search option in the Find popup to save and quickly get back the users Normal search options.  (Currently the "Set Current Options as Default" only saves a small subset of the Find options").
« Last Edit: September 05, 2015, 09:54:25 pm by rgloden »

jporkkahtc

  • Senior Community Member
  • Posts: 1844
  • Hero Points: 179
  • Text
Re: Ability to save more search history
« Reply #3 on: July 28, 2016, 10:15:15 pm »





FindInFiles Favorites...

I've got about 3 different FindInFiles searches that I do all the time.
For example:
    1 LookIn: <WorkspaceDir>, FileTypes: <....*.cpp;*.h;...*.etc>, Exclude ".git\;...."
    2 LookIn: <Project_X_Dir>, FileTypes: <....*.x;*.y;*.etc>, Exclude ".git\;...."
    3 LookIn: C:\Libraries\, FileTypes: <....*...>, Exclude ".git\;...."

Each of these 3 cases each has different options set, but when I want to search <WorkspaceDir> I almost always want to use the exact same settings.

Currently, I have to set LookIn, FileType, Exclude, SearchOption, etc, manually.
Or, use the very hidden and incomplete "Saved Search Expressions" - and very non-accessible from the keyboard.
Or, use F7/F8 history retreival but it is strictly MRU - I can't pick and choose the entries, nor pin favorites.

#1: Make SavedSearchExpressions more prominent in the Find UI - or at least keyboard accessible!
       Its well hidden now, and not keyboard accessible.
   A drop down, like "LookIn" with the save expressions would be great!

#2: Make SavedSearchExpressions more complete:
     A SavedExpression saves an odd sub-set of the settings.
     It saves the Types and Excludes, but doesn't save the LookIn folder.
     It also doesn't save the type (find, find in files, replace, etc...), or the Results Options.