在 Eclipse 中使用 Firefox 而不是 IE [英] Using Firefox in Eclipse instead of IE

查看:23
本文介绍了在 Eclipse 中使用 Firefox 而不是 IE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Eclipse 中,是否可以使用 Firefox 作为 Eclipse 的内部 Web 浏览器而不是 Internet Explorer.

In Eclipse, is it possible to use Firefox as Eclipse's internal Web browser instead of Internet Explorer.

我是一名在 Windows 中使用 Eclipse 的 Web 开发人员.

I am a Web developer using Eclipse in Windows.

谢谢!

推荐答案

内部 Web 浏览器使用的 SWT Browser 小部件为其 Web 渲染技术选择平台默认值.所以对于 Windows 来说就是 MSHTML COM 组件(IE 渲染器).对于 Linux 是 Mozilla(Webkit for 3.7 可用)和 Mac,WebKit(Safari).但是,有像 MyEclipse 这样的第三方插件确实嵌入了 mozilla 运行时 (XULRunner),它们确实使用 Mozilla (Gecko) 渲染器作为浏览器.

因此,要回答您的问题,无法在 Windows 上使用 Firefox 作为内部 Web 浏览器,但是,您可以为 Eclipse(MyEclipse、JBoss 工具等)安装嵌入 Xulrunner 二进制文件的 3rd-party 插件,这些插件将允许嵌入 mozilla 渲染器作为内部 Eclipse 浏览器使用的技术.请注意,这可能需要使用第 3 方 Web 浏览器小部件而不是标准 Eclipse 平台小部件,但那些第 3 方工具通常提供工具栏操作等.

The SWT Browser widget that is uesd by the internal web browser chooses the platform default for its web rendering technology. So for Windows that is the MSHTML COM component (IE renderer). For Linux that is Mozilla (Webkit for 3.7 is available) and on Mac, WebKit(Safari). However, there are third party plugins like MyEclipse that do embed a mozilla runtime (XULRunner) that do use the Mozilla (Gecko) renderer for a browser.

So to answer your question there is no way to use Firefox as internal web browser on windows, however, you can install 3rd-party plugins for Eclipse (MyEclipse, JBoss tools, etc) that embed Xulrunner binaries that will allow for embedding mozilla renderer as the technology used by an internal Eclipse browser. Note, this may require that use the 3rd-party web browser widget instead of the standard eclipse platform one, but those 3rd party tools usually provide a toolbar action, etc.

这篇关于在 Eclipse 中使用 Firefox 而不是 IE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆