How to clear Eclipse web browser history or browser preferences?

I am using Eclipse Helios (Service Release 2). I want to clear the history of the Eclipse web browser.

I try the next way

metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.browser.prefs 

but it does not work.

+4
source share
3 answers

Here is the path where eclipse stores the prefrence URL, so go there and clear this file and restart eclipse.

 WORKSPACE\.metadata\.plugins\org.eclipse.core.runtime\.settings\org.eclipse.ui.browser.prefs 

note: - in this path "WORKSPACE" is your current workspace

For more information click here.

+3
source

Eclipse uses some browser shell to access system browser features. Try clearing your Internet Explorer browser history on Windows.

0
source

I will copy the contents of the link in the selected answer so that it remains even if this obscure blog leaves.

Crop history list in Eclipse internal web browser

I use the internal web browser quite a bit when I design - if nothing else, this is a convenient place to test GET requests for the RESTful Web Service. I also use Eclipse to write HTML, and again the internal browser is a useful first test: "Does it look right? Yet?". This means that I am creating a fairly long history list, and the last entries - the ones that I will most likely be looking for - require scrolling to search and reuse. I still have not found the setting inside Eclipse (I am using 3.3.2 at the time of writing this) to edit the history of the internal browser. I would be glad to be proved wrong.

At the same time, the workaround is to close Eclipse and then edit the file $WORKSPACE/.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.ui.browser.prefs where $WORKSPACE is your root directory Eclipse workspace. This is a text file: my preferred text editor for Linux and Windows SciTE, but it really doesn't matter. This file has an internalWebBrowserHistory preference key, with the format:

internalWebBrowserHistory=url|*|url|*| ...

Removing obsolete entries is simple; changing or adding new entries does an excellent job, noting that the colon characters (:) are escaped by the previous backslash (\ :). Save changes, restart Eclipse, done. Hopefully there will be an internal preference editor to make it easier inside Eclipse in the future (or, someone will indicate that I was unobservable and that it is already there).

Posted by Ian on 4/25/2008 10:47:00 AM

0
source

Source: https://habr.com/ru/post/1440010/


All Articles