• Login
Community
  • Login

Directory under "Find in Files"-Search do not remember last folder

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 301 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    Michael
    last edited by Michael Feb 22, 2024, 8:46 AM Feb 22, 2024, 8:45 AM

    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 directory

    Right 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 folder

    is there any option for remembering last directory?

    A 1 Reply Last reply Feb 22, 2024, 12:18 PM Reply Quote 0
    • A
      Alan Kilborn @Michael
      last edited by Alan Kilborn Feb 22, 2024, 1:02 PM Feb 22, 2024, 12:18 PM

      @Michael

      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 where notepad++.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)
      1 Reply Last reply Reply Quote 1
      • A
        Alan Kilborn
        last edited by Feb 22, 2024, 1:01 PM

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

        1 Reply Last reply Reply Quote 1
        1 out of 3
        • First post
          1/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors