Hello,
I often do searches in various source codes, and for that I select several specific folders with project repositories I am interested in in the general develop folder. I tried to save the search, but the current selection is not persisted. On saved search load, I see that the "Only search in selected directories/files" is checked and cannot be unchecked, but nothing is actualy searched/found.
Please feel free to categorize as new feature proposal if this is not an actual bug.
Best regards,
Lukáš Soukup
Saved search does not save files/folders selection
Moderators: Hacker, petermad, Stefan2, white
Saved search does not save files/folders selection
Last edited by zombeek on 2025-01-23, 11:07 UTC, edited 1 time in total.
- ghisler(Author)
- Site Admin
- Posts: 50471
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Saved search does not save files/folders selection
Sorry, this isn't currently planned. It would have to be done in an external file, and you can already do this now:
1. Save the selection to file
2. In the search, put the following in the "Search in" field:
@c:\path\filelist.txt
1. Save the selection to file
2. In the search, put the following in the "Search in" field:
@c:\path\filelist.txt
Moderator message from: ghisler(Author) » 2025-01-22, 15:09 UTC
Moved to suggestions
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Saved search does not save files/folders selection
This function does not actually exist. There is only (but working perfect) the opposite. Search everything and exclude the unwanted directories.
- ghisler(Author)
- Site Admin
- Posts: 50471
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Saved search does not save files/folders selection
2JOUBE
I think zombeek meant the files/directories selected in the main program, for which there is a checkbox "search only selected".
I think zombeek meant the files/directories selected in the main program, for which there is a checkbox "search only selected".
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Saved search does not save files/folders selection
That's clear, "the current selection is not persiste". But to have a persistent selection, that, what I wrote, does the trick. (You select *.* and after the | you exclude all directories that you don't need: the ones you want remain. And you can save that.)ghisler(Author) wrote: 2025-01-22, 15:18 UTC 2JOUBE
I think zombeek meant the files/directories selected in the main program, for which there is a checkbox "search only selected".
Once apon a time I make a suggestion about this issue in a similar form.
Re: Saved search does not save files/folders selection
Thank you, Christian, it does the trick. SInce this is one-time-only preparation step, the only downside is the need to have the file somewhere, but the root folder where I do the searches seems fine.ghisler(Author) wrote: 2025-01-22, 15:09 UTC ...
2. In the search, put the following in the "Search in" field:
@c:\path\filelist.txt
...
I fiddled a bit more with the search dialog and found out that I can enter several directories, semilocon separated, into the "Search in" field. Saving this search also works.
Thank you for your support.