Directory under "Find in Files"-Search do not remember last folder
-
Hi,
i had seen on Notepad++ on other customers (older version)
that a search over several files (Find in Files) always stays and remember last used directoryRight now i am using notepad++ version 8.6.4
in my case it is not working and i cannot find the answer for it.
When i do multiple searches over a logfile set in a specific folder it switches back to notepad++ standard folderis there any option for remembering last directory?
-
is there any option for remembering last directory?
It isn’t really about remembering, it is about “not clobbering”.
If you have the Follow current doc. checkbox checked on the Find in Files window, and then you invoke a search (e.g. by pressing Ctrl+Shift+f) and your file is “soft-named”, e.g.
new 1
,new 3
, etc., then Notepad++ will automatically change the Directory box to contain the folder wherenotepad++.exe
lives. (Note: You can’t do a FIF on soft-named files/tabs anyway – to search these you can do Find All in All Opened Documents, on the Find window).I presume the above is your circumstance – is this correct?
The possible solution(s)/workaround(s):
- uncheck Follow current doc. (but I consider this a bad idea because it is most useful when it is checkmarked…YMMV) and Notepad++ will leave the Directory box as you’ve last set it
OR
- take care to invoke a FIF search when the active tab is a file in the folder you want to have appear in the Directory box (or is a top-level file if you are searching a folder tree)
-
There really is no good reason for the Directory box to be auto-populated with the
notepad++.exe
folder in the case where Find in Files is invoked when a soft-named tab is currently active, thus I’ve created an ISSUE for it (I don’t consider it a bug, just an undesirable).