如何清除Eclipse内部Web浏览器历史记录或浏览器首选项?

时间:2022-08-27 18:16:39

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

我正在使用Eclipse Helios(Service Release 2)。我想清除Eclipse内部Web浏览器历史记录。

I try following path

我尝试按照路径

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

but it's not working.

但它不起作用。

3 个解决方案

#1


3  

Here is the path where eclipse store URL prefrence, so go there and clean this file and restart you eclipse.

这里是eclipse存储URL prefrence的路径,所以去那里清理这个文件并重启你的eclipse。

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

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

注意: - 在此路径中,“WORKSPACE”是您当前的工作区

For more info click here

欲了解更多信息请点击这里

#2


0  

Eclipse is using some browser wrapper to get access to the system browser features. Try to clear your Internet Explorer history on the Windows system instead.

Eclipse正在使用一些浏览器包装器来访问系统浏览器功能。尝试在Windows系统上清除Internet Explorer历史记录。

#3


0  

I am copy pasting the content from the link in the selected answer so that it remains even if that obscure blog goes away.

我正在复制粘贴所选答案中链接的内容,以便即使这个模糊的博客消失也会保留。

Trimming the history list in Eclipse's internal web browser

修剪Eclipse内部Web浏览器中的历史列表

I use the internal web browser quite a bit when I'm developing - if nothing else, it's a handy place to test out the GET requests for RESTful web services. I also use Eclipse for HTML writing, and again the internal browser is a useful first test of "does this look right yet?". This means I build up quite a long history list, and the most recent entries – the ones I'm mostly likely to be looking for – require scrolling to find and re-use them. I have not, to date, found a setting inside Eclipse (I'm using 3.3.2 at the time of writing this) to edit the internal browser history. I'd be delighted to be proved wrong.

我正在开发时使用内部Web浏览器 - 如果没有别的,它是测试RESTful Web服务的GET请求的一个方便的地方。我还使用Eclipse进行HTML编写,而内部浏览器再一次测试“看起来还不错吗?”。这意味着我建立了相当长的历史列表,最近的条目 - 我最有可能寻找的 - 需要滚动才能找到并重新使用它们。到目前为止,我还没有在Eclipse中找到一个设置(我在撰写本文时使用的是3.3.2)来编辑内部浏览器历史记录。我很高兴被证明是错的。

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

与此同时,解决方法是关闭Eclipse,然后编辑文件$ WORKSPACE / .metadata / .plugins / org.eclipse.core.runtime / .settings / org.eclipse.ui.browser.prefs其中$ WORKSPACE是您的Eclipse工作区根目录。这是一个纯文本文件:我在Linux和Windows上首选的文本编辑器是SciTE,但它实际上并不重要。此文件具有首选项internalWebBrowserHistory,格式为:

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

Removing stale entries is straightforward; modifying or adding new entries is perfectly doable, noting that colon characters (:) are escaped with a preceding backslash (\:). Save changes, restart Eclipse, done. Hopefully there will be an internal preference editor to make this easier inside Eclipse in future (or, someone will point out to me that I've been unobservant and that it's already there).

删除陈旧条目很简单;修改或添加新条目是完全可行的,注意冒号字符(:)使用前面的反斜杠(\ :)进行转义。保存更改,重启Eclipse,完成。希望将来会有一个内部首选项编辑器让Eclipse内部变得更容易(或者,有人会向我指出我一直没有注意到并且它已经存在)。

Written by Ian, 4/25/2008 10:47:00 am

作者:伊恩,2008年4月25日上午10:47:00

#1


3  

Here is the path where eclipse store URL prefrence, so go there and clean this file and restart you eclipse.

这里是eclipse存储URL prefrence的路径,所以去那里清理这个文件并重启你的eclipse。

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

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

注意: - 在此路径中,“WORKSPACE”是您当前的工作区

For more info click here

欲了解更多信息请点击这里

#2


0  

Eclipse is using some browser wrapper to get access to the system browser features. Try to clear your Internet Explorer history on the Windows system instead.

Eclipse正在使用一些浏览器包装器来访问系统浏览器功能。尝试在Windows系统上清除Internet Explorer历史记录。

#3


0  

I am copy pasting the content from the link in the selected answer so that it remains even if that obscure blog goes away.

我正在复制粘贴所选答案中链接的内容,以便即使这个模糊的博客消失也会保留。

Trimming the history list in Eclipse's internal web browser

修剪Eclipse内部Web浏览器中的历史列表

I use the internal web browser quite a bit when I'm developing - if nothing else, it's a handy place to test out the GET requests for RESTful web services. I also use Eclipse for HTML writing, and again the internal browser is a useful first test of "does this look right yet?". This means I build up quite a long history list, and the most recent entries – the ones I'm mostly likely to be looking for – require scrolling to find and re-use them. I have not, to date, found a setting inside Eclipse (I'm using 3.3.2 at the time of writing this) to edit the internal browser history. I'd be delighted to be proved wrong.

我正在开发时使用内部Web浏览器 - 如果没有别的,它是测试RESTful Web服务的GET请求的一个方便的地方。我还使用Eclipse进行HTML编写,而内部浏览器再一次测试“看起来还不错吗?”。这意味着我建立了相当长的历史列表,最近的条目 - 我最有可能寻找的 - 需要滚动才能找到并重新使用它们。到目前为止,我还没有在Eclipse中找到一个设置(我在撰写本文时使用的是3.3.2)来编辑内部浏览器历史记录。我很高兴被证明是错的。

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

与此同时,解决方法是关闭Eclipse,然后编辑文件$ WORKSPACE / .metadata / .plugins / org.eclipse.core.runtime / .settings / org.eclipse.ui.browser.prefs其中$ WORKSPACE是您的Eclipse工作区根目录。这是一个纯文本文件:我在Linux和Windows上首选的文本编辑器是SciTE,但它实际上并不重要。此文件具有首选项internalWebBrowserHistory,格式为:

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

Removing stale entries is straightforward; modifying or adding new entries is perfectly doable, noting that colon characters (:) are escaped with a preceding backslash (\:). Save changes, restart Eclipse, done. Hopefully there will be an internal preference editor to make this easier inside Eclipse in future (or, someone will point out to me that I've been unobservant and that it's already there).

删除陈旧条目很简单;修改或添加新条目是完全可行的,注意冒号字符(:)使用前面的反斜杠(\ :)进行转义。保存更改,重启Eclipse,完成。希望将来会有一个内部首选项编辑器让Eclipse内部变得更容易(或者,有人会向我指出我一直没有注意到并且它已经存在)。

Written by Ian, 4/25/2008 10:47:00 am

作者:伊恩,2008年4月25日上午10:47:00