How to clear search history in Eclipse?

Viewed 7479

I am using Eclipse Ganymede 3.4.2. The search bar in both Search and Find/Replace is getting cluttered from previous searches. Is there a way to clear them?

I tried clearing the cache files in $workspace/.metadata/.plugins/org.eclipse.core.resources/.history/ but it does not help.

EDIT:
To clear File Search history, go to .metadata\.plugins\org.eclipse.search\dialog_settings.xml and under the TextSearchPage section, clear the history sections (e.g. <section name="HISTORY0"> ) and change HISTORY_SIZE value to 0.

To clear Java Search history, go to .metadata\.plugins\org.eclipse.jdt.ui\dialog_settings.xml and do the same thing under the JavaSearchPage section.

To clear Remote Search history, go to .metadata\.plugins\org.eclipse.rse.ui\dialog_settings.xml and do the same thing under the RemoteSearchPage section.

Still do not know how to clear the Find/Replace history.

2 Answers
Related