Author Topic: feature request - enable multiple paths in 'find in files'  (Read 2532 times)

Offline SpaceCadet

  • Multiple posting newcomer
  • *
  • Posts: 22
feature request - enable multiple paths in 'find in files'
« on: August 24, 2022, 08:50:03 pm »
find in files is great.  it would be even greater with multiple paths enabled.  the same idea as the patterns, you have a pick list of all the path groups in recent memory so you can reuse them.  it is incredibly powerful to search a handful of paths instead of just one.  to remember them for future use is also very handy.  its just a semicolon or comma delimited array of strings and you aggregate the returns.  like C:/home, D:/usr, or for unix /home, /usr
so it looks in both trees and aggregates all the files that match any of the patterns.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: feature request - enable multiple paths in 'find in files'
« Reply #1 on: August 24, 2022, 10:09:07 pm »
The thread search plugin has this included and is faster:
1) Activate the thread search tab in the log pane
2) Activate search in directory (make an red arrow in the folder symbol in "Search in"
3) Unhide the dir items (Show dir items): the left most symbol in near the  "Search in" text
4) Select the directories you want to search in by pressing the "..." button in the dir items controls that appear after step 3)

Or:
1) Activate the thread search tab in the log pane
2) Open the options dialog (pressing the wrench symbol)
3) Activate the search in directory files symbol (folder symbol)
4) Press the "..." button to select the directories

Offline SpaceCadet

  • Multiple posting newcomer
  • *
  • Posts: 22
Re: feature request - enable multiple paths in 'find in files'
« Reply #2 on: August 25, 2022, 09:11:50 pm »
Thanks!  I will check it out

Offline SpaceCadet

  • Multiple posting newcomer
  • *
  • Posts: 22
Re: feature request - enable multiple paths in 'find in files'
« Reply #3 on: August 25, 2022, 09:35:30 pm »
I am in version 20.03.  when i click the ... button, it permits me to add a single directory.  i cannot add multiple directories.  Is my version out of date?  if i add multiple folders like /hd2/sources /hd2/makes i get an error cannot open folder '/hd2/sources /hd2/makes'

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: feature request - enable multiple paths in 'find in files'
« Reply #4 on: August 25, 2022, 09:37:18 pm »
yes, it is possible that this was added after 20.03