Search code examples
notepad++

How to clear all the entries in the Find listbox?


I want to clear all the search strings I entered in the Find dialog. How to achieve that?


Solution

  • ajibanda++ has the answer:

    1. First, locate the application data folder of notepad++. This should be located at:

      • for XP C:\Documents and Settings\[REPLACE_WITH_USER]\Application Data\Notepad++
      • For Vista or Win7 it should be somewhere on: C:\Users\[REPLACE_WITH_USER]\AppData\Roaming\Notepad++

      NOTE: This is a hidden folder so it is advisable to make the hidden folders viewable.

    2. Locate and open config.xml to notepad for editing. Take note use notepad not notepad++, for some reason, editing it on notepad++ doesn't save the updates you'll be doing.

    3. Delete the lines with tags:

      • to remove, "search" history: <Find name="[REPLACE_WORD]".../>
      • to remove "replace" history : <Replace name="[REPLACE_WORD]" ..../>
    4. Save config.xml. If Notepad++ is open, close and then re-open it again.